diff options
author | PokeCodec <67983839+PokeCodec@users.noreply.github.com> | 2020-09-09 10:35:40 -0400 |
---|---|---|
committer | PokeCodec <67983839+PokeCodec@users.noreply.github.com> | 2020-09-09 10:35:40 -0400 |
commit | 779764b70dd113df4090dc09949e5a6b0dd71db0 (patch) | |
tree | 2233614ea070fc508863b03b64e893db3af3eae6 /src | |
parent | 8f6d6b933e081d6e7a35b52bd36da9d11952145b (diff) |
Fix Battle_Script_commands fakematch
Diffstat (limited to 'src')
-rw-r--r-- | src/battle_script_commands.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 7ded6fcd8..309b375e7 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)) { |