add forgotten TryIncrementSpeciesSearchLevel call
This commit is contained in:
parent
0c14ec4b78
commit
5fd40d90ef
1 changed files with 3 additions and 0 deletions
|
@ -6769,6 +6769,9 @@ void HandleSetPokedexFlag(u16 nationalNum, u8 caseId, u32 personality)
|
||||||
if (NationalPokedexNumToSpecies(nationalNum) == SPECIES_SPINDA)
|
if (NationalPokedexNumToSpecies(nationalNum) == SPECIES_SPINDA)
|
||||||
gSaveBlock2Ptr->pokedex.spindaPersonality = personality;
|
gSaveBlock2Ptr->pokedex.spindaPersonality = personality;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (caseId == FLAG_SET_SEEN)
|
||||||
|
TryIncrementSpeciesSearchLevel(nationalNum); // encountering pokemon increments its search level
|
||||||
}
|
}
|
||||||
|
|
||||||
const u8 *GetTrainerClassNameFromId(u16 trainerId)
|
const u8 *GetTrainerClassNameFromId(u16 trainerId)
|
||||||
|
|
Loading…
Reference in a new issue