diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2018-01-23 12:25:04 -0500 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2018-01-23 12:25:04 -0500 |
commit | 49ff4ad4e8f5cf8cea984e255ba3bb5051ff91e6 (patch) | |
tree | 8fbdd739bdb2586c62c8a057135ebe165e00cdba /src/contest_ai.c | |
parent | 0ec2cb85de36a636a96f24101cd5a20ffb53f5ea (diff) |
through sub_80C2340
Diffstat (limited to 'src/contest_ai.c')
-rw-r--r-- | src/contest_ai.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/contest_ai.c b/src/contest_ai.c index 66b387270..932f9fb8a 100644 --- a/src/contest_ai.c +++ b/src/contest_ai.c @@ -8,7 +8,6 @@ extern u8 AreMovesContestCombo(u16, u16); extern bool8 sub_80B214C(u8); extern bool8 Contest_IsMonsTurnDisabled(u8); -extern s16 gUnknown_02038670[]; extern u16 gSpecialVar_ContestCategory; extern u8 *gAIScriptPtr; @@ -1119,7 +1118,7 @@ static void ContestAICmd_check_would_finish_combo(void) if(sContestantStatus[eContestAI->unk41].prevMove) result = AreMovesContestCombo(sContestantStatus[eContestAI->unk41].prevMove, move); - + if(result) result = 1; @@ -1727,7 +1726,7 @@ static void ContestAICmd_unk_85(void) int result = 0; int i; u16 arg = T1_READ_16(gAIScriptPtr + 1); - + for(i = 0; i < 4; i++) { u16 move = gContestMons[eContestAI->unk41].moves[i]; |