diff --git a/src/phases.ts b/src/phases.ts index 371b086057c..6d0eb29c707 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -729,6 +729,11 @@ export class EncounterPhase extends BattlePhase { this.scene.initSession(); + // Failsafe if players somehow skip floor 200 in classic mode + if (this.scene.gameMode.isClassic && this.scene.currentBattle.waveIndex > 200) { + this.scene.unshiftPhase(new GameOverPhase(this.scene)); + } + const loadEnemyAssets = []; const battle = this.scene.currentBattle; @@ -3862,6 +3867,11 @@ export class GameOverPhase extends BattlePhase { start() { super.start(); + // Failsafe if players somehow skip floor 200 in classic mode + if (this.scene.gameMode.isClassic && this.scene.currentBattle.waveIndex > 200) { + this.victory = true; + } + if (this.victory || !this.scene.enableRetries) { this.handleGameOver(); } else {