Fix HoF dex numbers (#3901)
This commit is contained in:
parent
e2c8edeaa6
commit
973dae73be
1 changed files with 6 additions and 0 deletions
|
@ -1128,6 +1128,12 @@ static void HallOfFame_PrintMonInfo(struct HallofFameMon* currMon, u8 unused1, u
|
|||
dexNumber = SpeciesToPokedexNum(currMon->species);
|
||||
if (dexNumber != 0xFFFF)
|
||||
{
|
||||
if (IsNationalPokedexEnabled())
|
||||
{
|
||||
stringPtr[0] = (dexNumber / 1000) + CHAR_0;
|
||||
stringPtr++;
|
||||
dexNumber %= 1000;
|
||||
}
|
||||
stringPtr[0] = (dexNumber / 100) + CHAR_0;
|
||||
stringPtr++;
|
||||
dexNumber %= 100;
|
||||
|
|
Loading…
Reference in a new issue