summaryrefslogtreecommitdiff
path: root/src/battle_factory.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2019-02-07 11:37:28 -0600
committerMarcus Huderle <huderlem@gmail.com>2019-02-07 11:51:03 -0600
commit3a88ab831d2fb57e1f3e0908aeb79395700867d4 (patch)
tree79323a659a2ad1f81645566d434296966e2dad19 /src/battle_factory.c
parenta1ad1bad3a96222e8575bb2ce4625864593daa73 (diff)
Document more battle pyramid
Diffstat (limited to 'src/battle_factory.c')
-rw-r--r--src/battle_factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_factory.c b/src/battle_factory.c
index c025dc139..db67b0b13 100644
--- a/src/battle_factory.c
+++ b/src/battle_factory.c
@@ -304,14 +304,14 @@ static void sub_81A61B0(void)
trainerId = sub_8162548(challengeNum, gSaveBlock2Ptr->frontier.curChallengeBattleNum);
for (i = 0; i < gSaveBlock2Ptr->frontier.curChallengeBattleNum; i++)
{
- if (gSaveBlock2Ptr->frontier.field_CB4[i] == trainerId)
+ if (gSaveBlock2Ptr->frontier.trainerIds[i] == trainerId)
break;
}
} while (i != gSaveBlock2Ptr->frontier.curChallengeBattleNum);
gTrainerBattleOpponent_A = trainerId;
if (gSaveBlock2Ptr->frontier.curChallengeBattleNum < 6)
- gSaveBlock2Ptr->frontier.field_CB4[gSaveBlock2Ptr->frontier.curChallengeBattleNum] = trainerId;
+ gSaveBlock2Ptr->frontier.trainerIds[gSaveBlock2Ptr->frontier.curChallengeBattleNum] = trainerId;
i = 0;
while (i != 3)