Document contest AI commands

This commit is contained in:
GriffinR 2020-08-21 02:36:48 -04:00
parent 6c34effda9
commit 469ec5f248
6 changed files with 1004 additions and 642 deletions

File diff suppressed because it is too large Load Diff

View File

@ -159,29 +159,29 @@ AI_contest09_081DC2AB:
end end
AI_contest0F_1_081DC2AB: AI_contest0F_1_081DC2AB:
if_user_order_not_eq MON_1, AI_contest7D_1_081DC2AB if_user_order_not_eq MON_1, AI_contest7D_1_081DC2AB
if_random 51, AI_end_081DC2AB if_random_less_than 51, AI_end_081DC2AB
score +20 score +20
end end
AI_contest7D_1_081DC2AB: AI_contest7D_1_081DC2AB:
if_random 127, AI_end_081DC2AB if_random_less_than 127, AI_end_081DC2AB
score -10 score -10
end end
AI_contest0F_2_081DC2AB: AI_contest0F_2_081DC2AB:
if_user_order_not_eq MON_1, AI_contest7D_3_081DC2AB if_user_order_not_eq MON_1, AI_contest7D_3_081DC2AB
if_last_appeal AI_score_081DC2AB if_last_appeal AI_score_081DC2AB
AI_contest7D_2_081DC2AB: AI_contest7D_2_081DC2AB:
if_random 51, AI_end_081DC2AB if_random_less_than 51, AI_end_081DC2AB
score +10 score +10
end end
AI_score_081DC2AB: AI_score_081DC2AB:
score +15 score +15
end end
AI_contest7D_3_081DC2AB: AI_contest7D_3_081DC2AB:
if_random 127, AI_end_081DC2AB if_random_less_than 127, AI_end_081DC2AB
score +10 score +10
end end
AI_contest7D_4_081DC2AB: AI_contest7D_4_081DC2AB:
if_random 127, AI_end_081DC2AB if_random_less_than 127, AI_end_081DC2AB
score +10 score +10
end end
AI_contest3D_081DC2AB: AI_contest3D_081DC2AB:
@ -191,7 +191,7 @@ AI_contest3D_081DC2AB:
score +30 score +30
end end
AI_contest7D_5_081DC2AB: AI_contest7D_5_081DC2AB:
if_random 100, AI_end_081DC2AB if_random_less_than 100, AI_end_081DC2AB
score +10 score +10
end end
AI_contest29_081DC2AB: AI_contest29_081DC2AB:
@ -225,17 +225,17 @@ AI_score_081DC348:
end end
AI_contest04_1_081DC348: AI_contest04_1_081DC348:
if_last_appeal AI_contest7D_081DC348 if_last_appeal AI_contest7D_081DC348
if_random 150, AI_end_081DC348 if_random_less_than 150, AI_end_081DC348
score +10 score +10
end end
AI_contest04_2_081DC348: AI_contest04_2_081DC348:
if_last_appeal AI_contest7D_081DC348 if_last_appeal AI_contest7D_081DC348
if_random 125, AI_end_081DC348 if_random_less_than 125, AI_end_081DC348
score +10 score +10
end end
AI_contest04_3_081DC348: AI_contest04_3_081DC348:
if_last_appeal AI_contest7D_081DC348 if_last_appeal AI_contest7D_081DC348
if_random 50, AI_end_081DC348 if_random_less_than 50, AI_end_081DC348
score +10 score +10
end end
AI_contest04_4_081DC348: AI_contest04_4_081DC348:
@ -243,7 +243,7 @@ AI_contest04_4_081DC348:
score +10 score +10
end end
AI_contest7D_081DC348: AI_contest7D_081DC348:
if_random 125, AI_end_081DC348 if_random_less_than 125, AI_end_081DC348
score -15 score -15
end end
AI_end_081DC348: AI_end_081DC348:
@ -276,11 +276,11 @@ ContestEffect39_score1:
score +20 score +20
end end
ContestEffect39_score2: ContestEffect39_score2:
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score +15 score +15
end end
ContestEffect39_score3: ContestEffect39_score3:
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score +5 score +5
end end
ContestEffect39_score4: ContestEffect39_score4:
@ -289,27 +289,27 @@ ContestEffect39_score4:
ContestEffect40: ContestEffect40:
if_effect_in_user_moveset CONTEST_EFFECT_BETTER_IF_FIRST, ContestEffectEnd if_effect_in_user_moveset CONTEST_EFFECT_BETTER_IF_FIRST, ContestEffectEnd
if_random 50, ContestEffectEnd if_random_less_than 50, ContestEffectEnd
score +20 score +20
end end
ContestEffect41: ContestEffect41:
if_effect_in_user_moveset CONTEST_EFFECT_BETTER_IF_LAST, ContestEffectEnd if_effect_in_user_moveset CONTEST_EFFECT_BETTER_IF_LAST, ContestEffectEnd
if_random 50, ContestEffectEnd if_random_less_than 50, ContestEffectEnd
score +20 score +20
end end
ContestEffect3: ContestEffect3:
if_user_order_not_eq MON_4, ContestEffectEnd if_user_order_not_eq MON_4, ContestEffectEnd
if_random 50, ContestEffectEnd if_random_less_than 50, ContestEffectEnd
score +15 score +15
end end
if_last_appeal ContestEffect3_7D if_last_appeal ContestEffect3_7D
if_random 220, ContestEffect3_score if_random_less_than 220, ContestEffect3_score
score +10 score +10
end end
ContestEffect3_7D: ContestEffect3_7D:
if_random 20, ContestEffectEnd if_random_less_than 20, ContestEffectEnd
score +15 score +15
end end
ContestEffect3_score: ContestEffect3_score:
@ -319,7 +319,7 @@ ContestEffect3_score:
ContestEffect38: ContestEffect38:
if_effect_in_user_moveset CONTEST_EFFECT_BETTER_WITH_GOOD_CONDITION, ContestEffect38_contest04 if_effect_in_user_moveset CONTEST_EFFECT_BETTER_WITH_GOOD_CONDITION, ContestEffect38_contest04
if_user_condition_eq 3, ContestEffect38_score1 if_user_condition_eq 3, ContestEffect38_score1
if_random 50, ContestEffectEnd if_random_less_than 50, ContestEffectEnd
score +15 score +15
end end
ContestEffect38_score1: ContestEffect38_score1:
@ -329,11 +329,11 @@ ContestEffect38_contest04:
if_last_appeal ContestEffect38_score2 if_last_appeal ContestEffect38_score2
if_appeal_num_eq 0, ContestEffect38_random if_appeal_num_eq 0, ContestEffect38_random
if_move_used_count_eq 1, ContestEffectEnd if_move_used_count_eq 1, ContestEffectEnd
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score +10 score +10
end end
ContestEffect38_random: ContestEffect38_random:
if_random 100, ContestEffectEnd if_random_less_than 100, ContestEffectEnd
score +10 score +10
end end
ContestEffect38_score2: ContestEffect38_score2:
@ -350,7 +350,7 @@ ContestEffect47:
score +10 score +10
end end
ContestEffect47_random: ContestEffect47_random:
if_random 127, ContestEffectEnd if_random_less_than 127, ContestEffectEnd
score +10 score +10
end end
@ -385,7 +385,7 @@ ContestEffect32_score2:
ContestEffect32_score3: ContestEffect32_score3:
if_cannot_participate MON_1, ContestEffect32_score4 if_cannot_participate MON_1, ContestEffect32_score4
score +5 score +5
jump ContestEffect32_score4 goto ContestEffect32_score4
end end
ContestEffect32_score4: ContestEffect32_score4:
if_cannot_participate MON_2, ContestEffectEnd if_cannot_participate MON_2, ContestEffectEnd
@ -394,12 +394,12 @@ ContestEffect32_score4:
ContestEffect32_score5: ContestEffect32_score5:
if_cannot_participate MON_1, ContestEffect32_score6 if_cannot_participate MON_1, ContestEffect32_score6
score +5 score +5
jump ContestEffect32_score6 goto ContestEffect32_score6
end end
ContestEffect32_score6: ContestEffect32_score6:
if_cannot_participate MON_2, ContestEffect32_score7 if_cannot_participate MON_2, ContestEffect32_score7
score +5 score +5
jump ContestEffect32_score7 goto ContestEffect32_score7
end end
ContestEffect32_score7: ContestEffect32_score7:
if_cannot_participate MON_3, ContestEffectEnd if_cannot_participate MON_3, ContestEffectEnd
@ -416,25 +416,25 @@ ContestEffect46_05:
if_excitement_eq 3, ContestEffect46_score3 if_excitement_eq 3, ContestEffect46_score3
end end
ContestEffect46_score1: ContestEffect46_score1:
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score -15 score -15
end end
ContestEffect46_score2: ContestEffect46_score2:
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score +20 score +20
end end
ContestEffect46_score3: ContestEffect46_score3:
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score +15 score +15
end end
ContestEffect46_score4: ContestEffect46_score4:
if_random 178, ContestEffectEnd if_random_less_than 178, ContestEffectEnd
score +10 score +10
end end
ContestEffect27: ContestEffect27:
if_user_order_eq MON_1, ContestEffectEnd if_user_order_eq MON_1, ContestEffectEnd
jump ContestEffect27_55_1 goto ContestEffect27_55_1
end end
ContestEffect27_55_1: ContestEffect27_55_1:
if_cannot_participate MON_1, ContestEffect27_noscore if_cannot_participate MON_1, ContestEffect27_noscore
@ -444,17 +444,17 @@ ContestEffect27_55_1:
if_condition_eq MON_1, 3, ContestEffect27_score3 if_condition_eq MON_1, 3, ContestEffect27_score3
end end
ContestEffect27_score1: ContestEffect27_score1:
if_random 125, ContestEffect27_55_2 if_random_less_than 125, ContestEffect27_55_2
score +5 score +5
if_user_order_more_than MON_2, ContestEffect27_55_2 if_user_order_more_than MON_2, ContestEffect27_55_2
end end
ContestEffect27_score2: ContestEffect27_score2:
if_random 125, ContestEffect27_55_2 if_random_less_than 125, ContestEffect27_55_2
score +10 score +10
if_user_order_more_than MON_2, ContestEffect27_55_2 if_user_order_more_than MON_2, ContestEffect27_55_2
end end
ContestEffect27_score3: ContestEffect27_score3:
if_random 125, ContestEffect27_55_2 if_random_less_than 125, ContestEffect27_55_2
score +15 score +15
if_user_order_more_than MON_2, ContestEffect27_55_2 if_user_order_more_than MON_2, ContestEffect27_55_2
end end
@ -469,17 +469,17 @@ ContestEffect27_55_2:
if_condition_eq MON_2, 3, ContestEffect27_score6 if_condition_eq MON_2, 3, ContestEffect27_score6
end end
ContestEffect27_score4: ContestEffect27_score4:
if_random 125, ContestEffect27_55_3 if_random_less_than 125, ContestEffect27_55_3
score +5 score +5
if_user_order_more_than MON_3, ContestEffect27_55_3 if_user_order_more_than MON_3, ContestEffect27_55_3
end end
ContestEffect27_score5: ContestEffect27_score5:
if_random 125, ContestEffect27_55_3 if_random_less_than 125, ContestEffect27_55_3
score +10 score +10
if_user_order_more_than MON_3, ContestEffect27_55_3 if_user_order_more_than MON_3, ContestEffect27_55_3
end end
ContestEffect27_score6: ContestEffect27_score6:
if_random 125, ContestEffect27_55_3 if_random_less_than 125, ContestEffect27_55_3
score +15 score +15
if_user_order_more_than MON_3, ContestEffect27_55_3 if_user_order_more_than MON_3, ContestEffect27_55_3
end end
@ -494,15 +494,15 @@ ContestEffect27_55_3:
if_condition_eq MON_3, 3, ContestEffect27_score9 if_condition_eq MON_3, 3, ContestEffect27_score9
end end
ContestEffect27_score7: ContestEffect27_score7:
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score +5 score +5
end end
ContestEffect27_score8: ContestEffect27_score8:
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score +10 score +10
end end
ContestEffect27_score9: ContestEffect27_score9:
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score +15 score +15
end end
ContestEffect27_end: ContestEffect27_end:
@ -510,44 +510,44 @@ ContestEffect27_end:
ContestEffect16or17: ContestEffect16or17:
if_user_order_eq MON_1, ContestEffectEnd if_user_order_eq MON_1, ContestEffectEnd
jump ContestEffect16or17_55 goto ContestEffect16or17_55
end end
ContestEffect16or17_55: ContestEffect16or17_55:
if_cannot_participate MON_1, ContestEffect16or17_0E_1 if_cannot_participate MON_1, ContestEffect16or17_0E_1
if_used_combo_starter_eq MON_1, TRUE, ContestEffect16or17_0E_1 if_used_combo_starter_eq MON_1, TRUE, ContestEffect16or17_0E_1
if_random 125, ContestEffect16or17_0E_1 if_random_less_than 125, ContestEffect16or17_0E_1
score +2 score +2
contest_58 MON_1, ContestEffect16or17_0E_1 if_not_completed_combo MON_1, ContestEffect16or17_0E_1
score +8 score +8
end end
ContestEffect16or17_0E_1: ContestEffect16or17_0E_1:
if_user_order_eq MON_2, ContestEffectEnd if_user_order_eq MON_2, ContestEffectEnd
if_cannot_participate MON_2, ContestEffect16or17_0E_2 if_cannot_participate MON_2, ContestEffect16or17_0E_2
if_used_combo_starter_eq MON_2, TRUE, ContestEffect16or17_0E_2 if_used_combo_starter_eq MON_2, TRUE, ContestEffect16or17_0E_2
if_random 125, ContestEffect16or17_0E_2 if_random_less_than 125, ContestEffect16or17_0E_2
score +2 score +2
contest_58 MON_2, ContestEffect16or17_0E_2 if_not_completed_combo MON_2, ContestEffect16or17_0E_2
score +8 score +8
end end
ContestEffect16or17_0E_2: ContestEffect16or17_0E_2:
if_user_order_eq MON_3, ContestEffectEnd if_user_order_eq MON_3, ContestEffectEnd
if_cannot_participate MON_3, ContestEffectEnd if_cannot_participate MON_3, ContestEffectEnd
if_used_combo_starter_eq MON_3, TRUE, ContestEffectEnd if_used_combo_starter_eq MON_3, TRUE, ContestEffectEnd
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score +2 score +2
contest_58 MON_3, ContestEffectEnd if_not_completed_combo MON_3, ContestEffectEnd
score +8 score +8
end end
ContestEffect_FollowingMonsNervous: ContestEffect_FollowingMonsNervous:
if_user_order_eq MON_4, ContestEffectEnd if_user_order_eq MON_4, ContestEffectEnd
jump ContestEffect_FollowingMonsNervous_CheckMon4 goto ContestEffect_FollowingMonsNervous_CheckMon4
end end
ContestEffect_FollowingMonsNervous_CheckMon4: ContestEffect_FollowingMonsNervous_CheckMon4:
if_cannot_participate MON_4, ContestEffect_FollowingMonsNervous_CheckMon3 if_cannot_participate MON_4, ContestEffect_FollowingMonsNervous_CheckMon3
if_used_combo_starter_eq MON_4, FALSE, ContestEffect_FollowingMonsNervous_CheckMon3 if_used_combo_starter_eq MON_4, FALSE, ContestEffect_FollowingMonsNervous_CheckMon3
score +5 score +5
if_random 125, ContestEffect16or17_0E_1 if_random_less_than 125, ContestEffect16or17_0E_1
score +5 score +5
end end
ContestEffect_FollowingMonsNervous_CheckMon3: ContestEffect_FollowingMonsNervous_CheckMon3:
@ -555,7 +555,7 @@ ContestEffect_FollowingMonsNervous_CheckMon3:
if_cannot_participate MON_3, ContestEffect_FollowingMonsNervous_CheckMon2 if_cannot_participate MON_3, ContestEffect_FollowingMonsNervous_CheckMon2
if_used_combo_starter_eq MON_3, FALSE, ContestEffect_FollowingMonsNervous_CheckMon2 if_used_combo_starter_eq MON_3, FALSE, ContestEffect_FollowingMonsNervous_CheckMon2
score +5 score +5
if_random 125, ContestEffect16or17_0E_2 if_random_less_than 125, ContestEffect16or17_0E_2
score +5 score +5
end end
ContestEffect_FollowingMonsNervous_CheckMon2: ContestEffect_FollowingMonsNervous_CheckMon2:
@ -563,17 +563,17 @@ ContestEffect_FollowingMonsNervous_CheckMon2:
if_cannot_participate MON_2, ContestEffectEnd if_cannot_participate MON_2, ContestEffectEnd
if_used_combo_starter_eq MON_2, FALSE, ContestEffectEnd if_used_combo_starter_eq MON_2, FALSE, ContestEffectEnd
score +5 score +5
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score +5 score +5
end end
ContestEffect18: ContestEffect18:
if_last_appeal ContestEffect18_score1 if_last_appeal ContestEffect18_score1
jump ContestEffect18_0E goto ContestEffect18_0E
end end
ContestEffect18_score1: ContestEffect18_score1:
score +5 score +5
jump ContestEffect18_0E goto ContestEffect18_0E
end end
ContestEffect18_0E: ContestEffect18_0E:
if_user_order_eq MON_1, ContestEffect18_score2 if_user_order_eq MON_1, ContestEffect18_score2
@ -585,15 +585,15 @@ ContestEffect18_score2:
score -15 score -15
end end
ContestEffect18_random1: ContestEffect18_random1:
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score -10 score -10
end end
ContestEffect18_random2: ContestEffect18_random2:
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score +5 score +5
end end
ContestEffect18_random3: ContestEffect18_random3:
if_random 125, ContestEffectEnd if_random_less_than 125, ContestEffectEnd
score +15 score +15
end end
@ -607,7 +607,7 @@ AI_Erratic:
if_contest_type_eq CONTEST_CATEGORY_TOUGH, Erratic_CuteSmartTough if_contest_type_eq CONTEST_CATEGORY_TOUGH, Erratic_CuteSmartTough
end end
Erratic_CuteSmartTough: Erratic_CuteSmartTough:
if_random 125, Erratic_NoScoreIncrease if_random_less_than 125, Erratic_NoScoreIncrease
score +10 score +10
end end
Erratic_NoScoreIncrease: Erratic_NoScoreIncrease:
@ -772,23 +772,23 @@ ContestEffect2_2:
if_last_appeal ContestEffect2_2_score5 if_last_appeal ContestEffect2_2_score5
end end
ContestEffect2_2_score1: ContestEffect2_2_score1:
if_random 20, ContestEffectEnd2 if_random_less_than 20, ContestEffectEnd2
score -15 score -15
end end
ContestEffect2_2_score2: ContestEffect2_2_score2:
if_random 40, ContestEffectEnd2 if_random_less_than 40, ContestEffectEnd2
score -15 score -15
end end
ContestEffect2_2_score3: ContestEffect2_2_score3:
if_random 60, ContestEffectEnd2 if_random_less_than 60, ContestEffectEnd2
score -15 score -15
end end
ContestEffect2_2_score4: ContestEffect2_2_score4:
if_random 80, ContestEffectEnd2 if_random_less_than 80, ContestEffectEnd2
score -15 score -15
end end
ContestEffect2_2_score5: ContestEffect2_2_score5:
if_random 20, ContestEffectEnd2 if_random_less_than 20, ContestEffectEnd2
score +20 score +20
end end
@ -813,7 +813,7 @@ AI_score2_081DCA4C:
score -15 score -15
end end
AI_random1_081DCA4C: AI_random1_081DCA4C:
if_random 100, ContestEffectEnd2 if_random_less_than 100, ContestEffectEnd2
score +10 score +10
end end
AI_effectcheck2_081DCA4C: AI_effectcheck2_081DCA4C:
@ -824,7 +824,7 @@ AI_score3_081DCA4C:
score -5 score -5
end end
AI_random2_081DCA4C: AI_random2_081DCA4C:
if_random 125, ContestEffectEnd2 if_random_less_than 125, ContestEffectEnd2
score +10 score +10
end end
AI_effectcheck3_081DCA4C: AI_effectcheck3_081DCA4C:
@ -851,7 +851,7 @@ AI_score6_081DCA4C:
score -10 score -10
end end
AI_random3_081DCA4C: AI_random3_081DCA4C:
if_random 125, ContestEffectEnd2 if_random_less_than 125, ContestEffectEnd2
score +10 score +10
end end
AI_score7_081DCA4C: AI_score7_081DCA4C:

View File

@ -201,7 +201,7 @@ struct ContestantStatus
bool8 repeatedMove:1; bool8 repeatedMove:1;
bool8 unused2:1; bool8 unused2:1;
bool8 repeatedPrevMove:1; // never read bool8 repeatedPrevMove:1; // never read
bool8 unk15_3:1; bool8 completedComboFlag:1;
bool8 hasJudgesAttention:1; bool8 hasJudgesAttention:1;
bool8 judgesAttentionWasRemoved:1; bool8 judgesAttentionWasRemoved:1;
bool8 usedComboMove:1; bool8 usedComboMove:1;
@ -234,7 +234,7 @@ struct ContestAIInfo
/*0x10*/ u8 currentAICheck; /*0x10*/ u8 currentAICheck;
/*0x14*/ u32 aiChecks; /*0x14*/ u32 aiChecks;
/*0x18*/ s16 scriptResult; /*0x18*/ s16 scriptResult;
/*0x1A*/ s16 scriptArr[3]; /*0x1A*/ s16 vars[3];
/*0x20*/ const u8 *stack[8]; /*0x20*/ const u8 *stack[8];
/*0x40*/ u8 stackSize; /*0x40*/ u8 stackSize;
/*0x41*/ u8 contestantId; /*0x41*/ u8 contestantId;

View File

@ -3490,7 +3490,7 @@ static bool8 ContestantCanUseTurn(u8 contestant)
return TRUE; return TRUE;
} }
static void ResetContestantStatuses(void) static void SetContestantStatusesForNextRound(void)
{ {
s32 i; s32 i;
@ -4483,7 +4483,7 @@ static void CalculateAppealMoveImpact(u8 contestant)
eContestantStatus[contestant].usedComboMove = TRUE; eContestantStatus[contestant].usedComboMove = TRUE;
eContestantStatus[contestant].hasJudgesAttention = FALSE; eContestantStatus[contestant].hasJudgesAttention = FALSE;
eContestantStatus[contestant].comboAppealBonus = eContestantStatus[contestant].baseAppeal * eContestantStatus[contestant].completedCombo; eContestantStatus[contestant].comboAppealBonus = eContestantStatus[contestant].baseAppeal * eContestantStatus[contestant].completedCombo;
eContestantStatus[contestant].unk15_3 = TRUE; eContestantStatus[contestant].completedComboFlag = TRUE; // Redundant with completedCombo, used by AI
} }
else else
{ {
@ -5172,7 +5172,7 @@ static void Task_ResetForNextRound(u8 taskId)
eContest.waitForLink = TRUE; eContest.waitForLink = TRUE;
if (IsPlayerLinkLeader()) if (IsPlayerLinkLeader())
ResetContestantStatuses(); SetContestantStatusesForNextRound();
taskId2 = CreateTask(Task_LinkContest_CommunicateAppealsState, 0); taskId2 = CreateTask(Task_LinkContest_CommunicateAppealsState, 0);
SetTaskFuncWithFollowupFunc(taskId2, Task_LinkContest_CommunicateAppealsState, Task_EndWaitForLink); SetTaskFuncWithFollowupFunc(taskId2, Task_LinkContest_CommunicateAppealsState, Task_EndWaitForLink);
ContestPrintLinkStandby(); ContestPrintLinkStandby();
@ -5180,7 +5180,7 @@ static void Task_ResetForNextRound(u8 taskId)
} }
else else
{ {
ResetContestantStatuses(); SetContestantStatusesForNextRound();
gTasks[taskId].data[0] = 3; gTasks[taskId].data[0] = 3;
} }
break; break;

File diff suppressed because it is too large Load Diff

View File

@ -68,7 +68,10 @@ bool8 AreMovesContestCombo(u16 lastMove, u16 nextMove)
if (lastMoveComboStarterId == 0) if (lastMoveComboStarterId == 0)
return FALSE; return FALSE;
else if (lastMoveComboStarterId == nextMoveComboMoves[0] || lastMoveComboStarterId == nextMoveComboMoves[1] || lastMoveComboStarterId == nextMoveComboMoves[2] || lastMoveComboStarterId == nextMoveComboMoves[3]) else if (lastMoveComboStarterId == nextMoveComboMoves[0]
|| lastMoveComboStarterId == nextMoveComboMoves[1]
|| lastMoveComboStarterId == nextMoveComboMoves[2]
|| lastMoveComboStarterId == nextMoveComboMoves[3])
return gComboStarterLookupTable[lastMoveComboStarterId]; return gComboStarterLookupTable[lastMoveComboStarterId];
else else
return FALSE; return FALSE;