diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-10-07 01:13:34 -0400 |
---|---|---|
committer | GriffinR <griffin.richards@comcast.net> | 2019-10-07 01:13:34 -0400 |
commit | 81ee8f07efeba516947e0289c5d58d58e5220332 (patch) | |
tree | 705aca3a34468e80c41d4ba230a68f2c6bc9d166 /src/pokedex.c | |
parent | c0b06025168778705ceb044c875561a694739c74 (diff) |
Document pc.inc and prof_birch.inc
Diffstat (limited to 'src/pokedex.c')
-rw-r--r-- | src/pokedex.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pokedex.c b/src/pokedex.c index 98ac962db..0b04ae3b9 100644 --- a/src/pokedex.c +++ b/src/pokedex.c @@ -1347,13 +1347,13 @@ void CB2_Pokedex(void) sPokedexView->selectedScreen = 0; if (!IsNationalPokedexEnabled()) { - sPokedexView->seenCount = GetHoennPokedexCount(0); - sPokedexView->ownCount = GetHoennPokedexCount(1); + sPokedexView->seenCount = GetHoennPokedexCount(FLAG_GET_SEEN); + sPokedexView->ownCount = GetHoennPokedexCount(FLAG_GET_CAUGHT); } else { - sPokedexView->seenCount = GetNationalPokedexCount(0); - sPokedexView->ownCount = GetNationalPokedexCount(1); + sPokedexView->seenCount = GetNationalPokedexCount(FLAG_GET_SEEN); + sPokedexView->ownCount = GetNationalPokedexCount(FLAG_GET_CAUGHT); } sPokedexView->initialVOffset = 8; gMain.state++; @@ -2583,7 +2583,7 @@ static void CreateInterfaceSprites(u8 a) spriteId = CreateSprite(&gUnknown_0855D20C, 17, 91, 1); StartSpriteAnim(&gSprites[spriteId], 1); - r6 = GetHoennPokedexCount(0); + r6 = GetHoennPokedexCount(FLAG_GET_SEEN); _a = 0; spriteId = CreateSprite(&gUnknown_0855D23C, 40, 45, 1); @@ -2626,7 +2626,7 @@ static void CreateInterfaceSprites(u8 a) r5 = (sPokedexView->seenCount % 100) % 10; StartSpriteAnim(&gSprites[spriteId], r5); - r6 = GetHoennPokedexCount(1); + r6 = GetHoennPokedexCount(FLAG_GET_CAUGHT); _a = 0; spriteId = CreateSprite(&gUnknown_0855D23C, 40, 81, 1); |