Some pokenav work

This commit is contained in:
DizzyEggg
2019-05-26 12:42:01 +02:00
committed by huderlem
parent 818e1909ff
commit f64c1dfabf
8 changed files with 519 additions and 1025 deletions

18
src/pokenav_unk_2.c Normal file
View File

@@ -0,0 +1,18 @@
#include "global.h"
#include "gym_leader_rematch.h"
#include "pokenav.h"
bool32 sub_81C98D4(void)
{
s32 i;
for (i = 0; i < REMATCH_TABLE_ENTRIES; i++)
{
if (sub_81CB0C8(i) == gMapHeader.regionMapSectionId
&& sub_81CAE08(i)
&& gSaveBlock1Ptr->trainerRematches[i])
return TRUE;
}
return FALSE;
}