Skip to content

Commit

Permalink
v1.0.11
Browse files Browse the repository at this point in the history
- Removed general Legendary catching restriction. The weather trio still cannot be caught. Regis can, however, if chat manages to actually pull it off.
  • Loading branch information
tustin2121 committed Aug 19, 2019
1 parent de0a8b8 commit a8880f4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TPP_MODE ?= 1
EMULATOR_ONLY ?= 1

# Version branch
VERSION := 1.0.10
VERSION := 1.0.11

ifeq ($(OS),Windows_NT)
EXE := .exe
Expand Down
1 change: 1 addition & 0 deletions include/constants/battle.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
#define BATTLE_TYPE_FRONTIER (BATTLE_TYPE_BATTLE_TOWER | BATTLE_TYPE_DOME | BATTLE_TYPE_PALACE | BATTLE_TYPE_ARENA | BATTLE_TYPE_FACTORY | BATTLE_TYPE_PIKE | BATTLE_TYPE_PYRAMID)
#define BATTLE_TYPE_FRONTIER_NO_PYRAMID (BATTLE_TYPE_BATTLE_TOWER | BATTLE_TYPE_DOME | BATTLE_TYPE_PALACE | BATTLE_TYPE_ARENA | BATTLE_TYPE_FACTORY | BATTLE_TYPE_PIKE)
#define BATTLE_TYPE_RAGING_LEGENDARY (BATTLE_TYPE_GROUDON | BATTLE_TYPE_KYOGRE)
#define BATTLE_TYPE_WEATHER_TRIO (BATTLE_TYPE_GROUDON | BATTLE_TYPE_KYOGRE | BATTLE_TYPE_RAYQUAZA)

// Battle Outcome defines
#define B_OUTCOME_WON 0x1
Expand Down
2 changes: 1 addition & 1 deletion src/battle_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5715,7 +5715,7 @@ static void HandleAction_Run(void)
{
gBattlerAttacker = gBattlerByTurnOrder[gCurrentTurnActionNumber];

if (gBattleTypeFlags & BATTLE_TYPE_LEGENDARY) //BATTLE_TYPE_RAGING_LEGENDARY)
if (gBattleTypeFlags & BATTLE_TYPE_WEATHER_TRIO) //BATTLE_TYPE_RAGING_LEGENDARY)
{
ClearFuryCutterDestinyBondGrudge(gBattlerAttacker);
gBattleCommunication[MULTISTRING_CHOOSER] = 3;
Expand Down
2 changes: 1 addition & 1 deletion src/battle_script_commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -10180,7 +10180,7 @@ static void atkEF_handleballthrow(void)
gActiveBattler = gBattlerAttacker;
gBattlerTarget = gBattlerAttacker ^ BIT_SIDE;

if (gBattleTypeFlags & BATTLE_TYPE_LEGENDARY)
if (gBattleTypeFlags & BATTLE_TYPE_WEATHER_TRIO)
{
BtlController_EmitBallThrowAnim(0, BALL_TRAINER_BLOCK);
MarkBattlerForControllerExec(gActiveBattler);
Expand Down
2 changes: 1 addition & 1 deletion src/battle_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@ const u8 *GetTrainerWonSpeech(void)

if (gBattleTypeFlags & BATTLE_TYPE_RAYQUAZA)
string = gText_Whiteout_Rayquaza;
else if (gBattleTypeFlags & BATTLE_TYPE_LEGENDARY)
else if (gBattleTypeFlags & BATTLE_TYPE_RAGING_LEGENDARY)
string = gText_Whiteout_RagingLegendary;
else if ((gBattleTypeFlags & BATTLE_TYPE_TRAINER) == 0)
string = gText_Whiteout_WildMon;
Expand Down

0 comments on commit a8880f4

Please sign in to comment.