Add some missing battle arena constants

This commit is contained in:
GriffinR
2022-08-11 12:02:56 -04:00
parent cd5a03d4aa
commit 63468f9fcb
5 changed files with 75 additions and 182 deletions

View File

@@ -6368,7 +6368,10 @@ static void Cmd_various(void)
break;
case VARIOUS_ARENA_JUDGMENT_WINDOW:
i = BattleArena_ShowJudgmentWindow(&gBattleCommunication[0]);
if (i == 0)
// BattleArena_ShowJudgmentWindow's last state was an intermediate step.
// Return without advancing the current instruction so that it will be called again.
if (i == ARENA_RESULT_RUNNING)
return;
gBattleCommunication[1] = i;