From 8f36bf1dcf585bbb7027e930610fe5cd08692748 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Tue, 23 Apr 2024 13:12:57 -0400 Subject: [PATCH] Don't lapse eggs on the final wave of a run --- src/phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases.ts b/src/phases.ts index deb1c2fb8..62e53d797 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -3220,8 +3220,8 @@ export class VictoryPhase extends PokemonPhase { this.scene.pushPhase(new BattleEndPhase(this.scene)); if (this.scene.currentBattle.battleType === BattleType.TRAINER) this.scene.pushPhase(new TrainerVictoryPhase(this.scene)); - this.scene.pushPhase(new EggLapsePhase(this.scene)); if (this.scene.gameMode.isEndless || !this.scene.gameMode.isWaveFinal(this.scene.currentBattle.waveIndex)) { + this.scene.pushPhase(new EggLapsePhase(this.scene)); if (this.scene.currentBattle.waveIndex % 10) this.scene.pushPhase(new SelectModifierPhase(this.scene)); else if (this.scene.gameMode.isDaily) {