Fix frontier ineligibility fix (#4997)

This commit is contained in:
Bassoonian 2024-07-19 11:46:25 +02:00 committed by GitHub
parent 552e2768da
commit 9ff30ee87a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1929,8 +1929,7 @@ static void AppendIfValid(u16 species, u16 heldItem, u16 hp, u8 lvlMode, u8 monL
return;
for (i = 0; gFrontierBannedSpecies[i] != 0xFFFF
&& gFrontierBannedSpecies[i] != GET_BASE_SPECIES_ID(species)
&& IsSpeciesEnabled(gFrontierBannedSpecies[i]); i++)
&& gFrontierBannedSpecies[i] != GET_BASE_SPECIES_ID(species); i++)
;
if (gFrontierBannedSpecies[i] != 0xFFFF)