From dd89db29fdaa131ffae4bc2e48a884c9ec8bf7e1 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Fri, 22 Dec 2023 20:13:48 -0500 Subject: [PATCH] Grant a plus voucher instead of a normal one for every 250th wave in endless mode --- src/battle-phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle-phases.ts b/src/battle-phases.ts index a7380eba5..d32d6ad4a 100644 --- a/src/battle-phases.ts +++ b/src/battle-phases.ts @@ -2366,7 +2366,7 @@ export class VictoryPhase extends PokemonPhase { this.scene.pushPhase(new ModifierRewardPhase(this.scene, modifierTypes.GOLDEN_POKEBALL)); } if (this.scene.gameMode !== GameMode.CLASSIC && !(this.scene.currentBattle.waveIndex % 50)) { - this.scene.pushPhase(new ModifierRewardPhase(this.scene, modifierTypes.VOUCHER)); + this.scene.pushPhase(new ModifierRewardPhase(this.scene, !(this.scene.currentBattle.waveIndex % 250) ? modifierTypes.VOUCHER_PLUS : modifierTypes.VOUCHER)); this.scene.pushPhase(new AddEnemyBuffModifierPhase(this.scene)); } }