summaryrefslogtreecommitdiff
path: root/src/tv.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/tv.c
parentc0b06025168778705ceb044c875561a694739c74 (diff)
Document pc.inc and prof_birch.inc
Diffstat (limited to 'src/tv.c')
-rw-r--r--src/tv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tv.c b/src/tv.c
index 4696a25e3..b9478a3ea 100644
--- a/src/tv.c
+++ b/src/tv.c
@@ -1955,11 +1955,11 @@ void sub_80EDB44(void)
show->rivalTrainer.badgeCount = nBadges;
if (IsNationalPokedexEnabled())
{
- show->rivalTrainer.dexCount = GetNationalPokedexCount(0x01);
+ show->rivalTrainer.dexCount = GetNationalPokedexCount(FLAG_GET_CAUGHT);
}
else
{
- show->rivalTrainer.dexCount = GetHoennPokedexCount(0x01);
+ show->rivalTrainer.dexCount = GetHoennPokedexCount(FLAG_GET_CAUGHT);
}
show->rivalTrainer.location = gMapHeader.regionMapSectionId;
show->rivalTrainer.mapLayoutId = gMapHeader.mapLayoutId;