diff options
Diffstat (limited to 'arm9/src/unk_0202C144.c')
-rw-r--r-- | arm9/src/unk_0202C144.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arm9/src/unk_0202C144.c b/arm9/src/unk_0202C144.c index 468a92e4..78c59e15 100644 --- a/arm9/src/unk_0202C144.c +++ b/arm9/src/unk_0202C144.c @@ -12,9 +12,9 @@ void FUN_0202C144(struct SaveBlock2 * sav2, struct Pokemon * mon) if (!is_egg) { struct Pokedex * pokedex = Sav2_Pokedex_get(sav2); - struct UnkStruct_02029FB0 * unk = FUN_02029FC8(sav2); + struct GameStats * unk = Sav2_GameStats_get(sav2); u32 species = GetMonData(mon, MON_DATA_SPECIES, NULL); - FUN_0202A1C4(unk, pokedex, (u16)species); + GameStats_IncSpeciesCaught(unk, pokedex, (u16) species); Pokedex_SetMonCaughtFlag(pokedex, mon); struct SavePoketch * poketch = Sav2_Poketch_get(sav2); |