Fix Battle_Script_commands fakematch

This commit is contained in:
PokeCodec 2020-09-09 10:35:40 -04:00
parent 8f6d6b933e
commit 779764b70d

View file

@ -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))
{