summaryrefslogtreecommitdiff
path: root/src/match_call.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-12-05 22:34:55 -0500
committerGriffinR <griffin.richards@comcast.net>2019-12-06 02:35:08 -0500
commitcc9b923dc29c9ab855283fdf24687e16d7451b13 (patch)
tree97cccec0ea563514d2eec65ec380e2c1e09206c2 /src/match_call.c
parent548af3c0f1a2807e791fe7bbfe1fc57ddb726c5e (diff)
More pokenav match call documentation
Diffstat (limited to 'src/match_call.c')
-rw-r--r--src/match_call.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/match_call.c b/src/match_call.c
index 646b14cea..8458bb31d 100644
--- a/src/match_call.c
+++ b/src/match_call.c
@@ -1060,7 +1060,7 @@ static bool32 SelectMatchCallTrainer(void)
static u32 GetNumRegisteredNPCs(void)
{
u32 i, count;
- for (i = 0, count = 0; i < 64; i++)
+ for (i = 0, count = 0; i < REMATCH_NORMAL_NPC_END; i++)
{
if (FlagGet(FLAG_MATCH_CALL_REGISTERED + i))
count++;
@@ -1072,7 +1072,7 @@ static u32 GetNumRegisteredNPCs(void)
static u32 GetActiveMatchCallTrainerId(u32 activeMatchCallId)
{
u32 i;
- for (i = 0; i < 64; i++)
+ for (i = 0; i < REMATCH_NORMAL_NPC_END; i++)
{
if (FlagGet(FLAG_MATCH_CALL_REGISTERED + i))
{
@@ -1384,7 +1384,7 @@ static u16 GetRematchTrainerLocation(int matchCallId)
static u32 GetNumRematchTrainersFought(void)
{
u32 i, count;
- for (i = 0, count = 0; i < 64; i++)
+ for (i = 0, count = 0; i < REMATCH_NORMAL_NPC_END; i++)
{
if (HasTrainerBeenFought(gRematchTable[i].trainerIds[0]))
count++;