From 779764b70dd113df4090dc09949e5a6b0dd71db0 Mon Sep 17 00:00:00 2001 From: PokeCodec <67983839+PokeCodec@users.noreply.github.com> Date: Wed, 9 Sep 2020 10:35:40 -0400 Subject: [PATCH] Fix Battle_Script_commands fakematch --- src/battle_script_commands.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 7ded6fcd8f..309b375e70 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -7134,11 +7134,11 @@ static void Cmd_forcerandomswitch(void) register s32 lastMonId asm("r8") = 0; // + 1 #endif // NONMATCHING - s32 firstMonId = 0; - s32 monsCount = 0; + s32 firstMonId; + s32 monsCount; struct Pokemon* party = NULL; s32 validMons = 0; - s32 minNeeded = 0; + s32 minNeeded; if ((gBattleTypeFlags & BATTLE_TYPE_TRAINER)) {