mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-01 22:12:16 +02:00
Don't lapse eggs on the final wave of a run
This commit is contained in:
parent
92caf6059b
commit
8f36bf1dcf
@ -3220,8 +3220,8 @@ export class VictoryPhase extends PokemonPhase {
|
|||||||
this.scene.pushPhase(new BattleEndPhase(this.scene));
|
this.scene.pushPhase(new BattleEndPhase(this.scene));
|
||||||
if (this.scene.currentBattle.battleType === BattleType.TRAINER)
|
if (this.scene.currentBattle.battleType === BattleType.TRAINER)
|
||||||
this.scene.pushPhase(new TrainerVictoryPhase(this.scene));
|
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)) {
|
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)
|
if (this.scene.currentBattle.waveIndex % 10)
|
||||||
this.scene.pushPhase(new SelectModifierPhase(this.scene));
|
this.scene.pushPhase(new SelectModifierPhase(this.scene));
|
||||||
else if (this.scene.gameMode.isDaily) {
|
else if (this.scene.gameMode.isDaily) {
|
||||||
|
Loading…
Reference in New Issue
Block a user