diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-21 10:19:41 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-21 10:19:41 -0400 |
commit | 75b2298d37fa39077f7d5b930c0629ad5064ab84 (patch) | |
tree | 070898588e8a0511ecc661f20866bc0b0d05a3d0 /src/contest_ai.c | |
parent | 9ab2ab3c8068b7194291e58bb7c12befdb1df27a (diff) |
Start syncing contest code documentation from Emerald
Diffstat (limited to 'src/contest_ai.c')
-rw-r--r-- | src/contest_ai.c | 5 |
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; } |