summaryrefslogtreecommitdiff
path: root/src/birch_pc.c
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2019-10-15 16:30:27 -0500
committerGitHub <noreply@github.com>2019-10-15 16:30:27 -0500
commita0b3f5d9e34e65c1948325bd4177a734bfde6bb4 (patch)
treeedd30aaf0011fa31b0dd75fee2a670b2215390e2 /src/birch_pc.c
parent07ac727c6d0c54d5d0f9f2a1f4c11b81f9d64cb4 (diff)
parent928cdf2531e74df2432ec8d602c4c2d2fee14eb1 (diff)
Merge pull request #833 from GriffinRichards/doc-inc2
Document .incs split from event_scripts Round 2
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();