Skip to content

Commit

Permalink
Fix frontier ineligibility fix (#4997)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bassoonian authored Jul 19, 2024
1 parent 552e276 commit 9ff30ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/frontier_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9ff30ee

Please sign in to comment.