summaryrefslogtreecommitdiff
path: root/src/pokenav_unk_2.c
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2019-12-15 09:42:13 -0600
committerGitHub <noreply@github.com>2019-12-15 09:42:13 -0600
commitfee36224eda1acc4329646caf0e65a891928afc0 (patch)
treed2f222de1bee8df2adee05b778cc9a34e3567848 /src/pokenav_unk_2.c
parent6967caefb246f9709032049b0ae2baee71f71eb6 (diff)
parenta04347816f71a9a6d92579d0d6b54268c6c8a96d (diff)
Merge pull request #925 from GriffinRichards/doc-matchcall
Document some pokenav match call
Diffstat (limited to 'src/pokenav_unk_2.c')
-rw-r--r--src/pokenav_unk_2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pokenav_unk_2.c b/src/pokenav_unk_2.c
index befe63f0b..de962ccd6 100644
--- a/src/pokenav_unk_2.c
+++ b/src/pokenav_unk_2.c
@@ -323,7 +323,7 @@ static bool32 sub_81C98D4(void)
for (i = 0; i < REMATCH_TABLE_ENTRIES; i++)
{
if (sub_81CB0C8(i) == gMapHeader.regionMapSectionId
- && sub_81CAE08(i)
+ && IsRematchEntryRegistered(i)
&& gSaveBlock1Ptr->trainerRematches[i])
return TRUE;
}
@@ -706,10 +706,10 @@ static u32 sub_81C9F28(s32 state)
switch (state)
{
case 0:
- sub_81C7BA4(sub_81C98C4());
+ PrintHelpBarText(GetHelpBarTextId());
return LT_INC_AND_PAUSE;
case 1:
- if (IsDma3ManagerBusyWithBgCopy_())
+ if (WaitForHelpBar())
return LT_PAUSE;
sub_81C7880();
sub_81CA9C8();