summaryrefslogtreecommitdiff
path: root/src/contest_ai.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/contest_ai.c')
-rw-r--r--src/contest_ai.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/contest_ai.c b/src/contest_ai.c
index 06d4c11ca..77bfa40b6 100644
--- a/src/contest_ai.c
+++ b/src/contest_ai.c
@@ -632,7 +632,7 @@ static void ContestAICmd_unk_19(void)
static void ContestAICmd_unk_1A(void)
{
- eContestAI->scriptResult = gContestMonConditions[eContestAI->unk41];
+ eContestAI->scriptResult = gContestMonRound1Points[eContestAI->unk41];
gAIScriptPtr += 1;
}
@@ -1353,7 +1353,8 @@ static void ContestAICmd_unk_5E(void)
{
u8 var = sub_8128A7C(gAIScriptPtr[1]);
- eContestAI->scriptResult = gContestMonConditions[var] - gContestMonConditions[eContestAI->unk41];
+ eContestAI->scriptResult =
+ gContestMonRound1Points[var] - gContestMonRound1Points[eContestAI->unk41];
gAIScriptPtr += 2;
}