fix MapHasNoEncounterData
This commit is contained in:
parent
7431044da1
commit
e1021af6bd
1 changed files with 1 additions and 6 deletions
|
@ -965,11 +965,6 @@ u8 ChooseHiddenMonIndex(void)
|
|||
|
||||
bool32 MapHasNoEncounterData(void)
|
||||
{
|
||||
u16 headerId = GetCurrentMapWildMonHeaderId();
|
||||
const struct WildPokemonInfo *landMonsInfo = gWildMonHeaders[headerId].landMonsInfo;
|
||||
const struct WildPokemonInfo *waterMonsInfo = gWildMonHeaders[headerId].waterMonsInfo;
|
||||
const struct WildPokemonInfo *hiddenMonsInfo = gWildMonHeaders[headerId].hiddenMonsInfo;
|
||||
|
||||
return (landMonsInfo == NULL && waterMonsInfo == NULL && hiddenMonsInfo == NULL);
|
||||
return (GetCurrentMapWildMonHeaderId() == HEADER_NONE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue