summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index c9e32b8d2..fca2b3879 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -4650,7 +4650,8 @@ static void Cmd_switchinanim(void)
static void Cmd_jumpifcantswitch(void)
{
- s32 i, lastMonId;
+ s32 i;
+ s32 lastMonId;
struct Pokemon *party;
gActiveBattler = GetBattlerForBattleScript(gBattlescriptCurrInstr[1] & ~(SWITCH_IGNORE_ESCAPE_PREVENTION));