summaryrefslogtreecommitdiff
path: root/src/contest_ai.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-06-23 11:10:02 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-06-23 11:10:02 -0400
commitd461cbcaa18e282f0a1ac5954298f2185a69b7c5 (patch)
tree99ce725ce6b91e9d340fad0b07ad2deae08327cf /src/contest_ai.c
parent6e9821ca07a64ee09129038286aaba3eb1825946 (diff)
Sync more function names from Emerald
Diffstat (limited to 'src/contest_ai.c')
-rw-r--r--src/contest_ai.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contest_ai.c b/src/contest_ai.c
index a922156a7..637106811 100644
--- a/src/contest_ai.c
+++ b/src/contest_ai.c
@@ -586,7 +586,7 @@ static void ContestAICmd_unk_14(void)
static void ContestAICmd_unk_15(void)
{
- eContestAI->scriptResult = sContestantStatus[eContestAI->unk41].unk4;
+ eContestAI->scriptResult = sContestantStatus[eContestAI->unk41].pointTotal;
gAIScriptPtr += 1;
}
@@ -1305,7 +1305,7 @@ static void ContestAICmd_unk_59(void)
{
u8 var = sub_8128A7C(gAIScriptPtr[1]);
- eContestAI->scriptResult = sContestantStatus[var].unk4 - sContestantStatus[eContestAI->unk41].unk4;
+ eContestAI->scriptResult = sContestantStatus[var].pointTotal - sContestantStatus[eContestAI->unk41].pointTotal;
gAIScriptPtr += 2;
}