summaryrefslogtreecommitdiff
path: root/src/prof_pc.c
diff options
context:
space:
mode:
authorjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-08-25 06:58:56 +0800
committerjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-08-25 06:58:56 +0800
commit8b14f4e90abf8010e83d6b38a26034458ce36d5d (patch)
treeb435edeb745cd9d232011cdcea7662711987e1d1 /src/prof_pc.c
parent41a7e6967dd4fd79eb01a45f4d77cf7c2ca11dc1 (diff)
parent74e2a0e123be0ecd0e0df516ce242aea9c348117 (diff)
Merge branch 'master' into battle
Diffstat (limited to 'src/prof_pc.c')
-rw-r--r--src/prof_pc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/prof_pc.c b/src/prof_pc.c
index cfccbd6e3..35566e714 100644
--- a/src/prof_pc.c
+++ b/src/prof_pc.c
@@ -25,13 +25,13 @@ u16 Special_GetPokedexCount(void)
{
if (gSpecialVar_0x8004 == 0)
{
- gSpecialVar_0x8005 = sub_8088EDC(0);
- gSpecialVar_0x8006 = sub_8088EDC(1);
+ gSpecialVar_0x8005 = GetKantoPokedexCount(0);
+ gSpecialVar_0x8006 = GetKantoPokedexCount(1);
}
else
{
- gSpecialVar_0x8005 = pokedex_count(0);
- gSpecialVar_0x8006 = pokedex_count(1);
+ gSpecialVar_0x8005 = GetNationalPokedexCount(0);
+ gSpecialVar_0x8006 = GetNationalPokedexCount(1);
}
return sub_806E25C();
}