summaryrefslogtreecommitdiff
path: root/src/birch_pc.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-10-07 01:13:34 -0400
committerGriffinR <griffin.richards@comcast.net>2019-10-07 01:13:34 -0400
commit81ee8f07efeba516947e0289c5d58d58e5220332 (patch)
tree705aca3a34468e80c41d4ba230a68f2c6bc9d166 /src/birch_pc.c
parentc0b06025168778705ceb044c875561a694739c74 (diff)
Document pc.inc and prof_birch.inc
Diffstat (limited to 'src/birch_pc.c')
-rw-r--r--src/birch_pc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/birch_pc.c b/src/birch_pc.c
index 5179b1920..5b574b05d 100644
--- a/src/birch_pc.c
+++ b/src/birch_pc.c
@@ -9,13 +9,13 @@ bool16 ScriptGetPokedexInfo(void)
{
if (gSpecialVar_0x8004 == 0) // is national dex not present?
{
- gSpecialVar_0x8005 = GetHoennPokedexCount(0);
- gSpecialVar_0x8006 = GetHoennPokedexCount(1);
+ gSpecialVar_0x8005 = GetHoennPokedexCount(FLAG_GET_SEEN);
+ gSpecialVar_0x8006 = GetHoennPokedexCount(FLAG_GET_CAUGHT);
}
else
{
- gSpecialVar_0x8005 = GetNationalPokedexCount(0);
- gSpecialVar_0x8006 = GetNationalPokedexCount(1);
+ gSpecialVar_0x8005 = GetNationalPokedexCount(FLAG_GET_SEEN);
+ gSpecialVar_0x8006 = GetNationalPokedexCount(FLAG_GET_CAUGHT);
}
return IsNationalPokedexEnabled();