summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorPokeCodec <67983839+PokeCodec@users.noreply.github.com>2020-09-10 18:07:46 -0400
committerPokeCodec <67983839+PokeCodec@users.noreply.github.com>2020-09-10 18:07:46 -0400
commitc1286c2fe2e40dc1070076ef2c69b67d07c8b867 (patch)
treebe9ddf153e1b4dbcffff33e3cb318bec52c9b4e7 /src/battle_script_commands.c
parent87769756f8d354a453f42e8c818dfff042400fb7 (diff)
Change according to feedback
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));