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

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)