From 133c1c364a72b7dc4c66061e874c38c502bcbbec Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Sun, 24 Mar 2024 11:17:12 -0400 Subject: [PATCH] Add EXP All to endless mode at wave 10 --- src/phases.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/phases.ts b/src/phases.ts index 579a37635ac..c590444c15e 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -2981,6 +2981,8 @@ export class VictoryPhase extends PokemonPhase { this.scene.pushPhase(new ModifierRewardPhase(this.scene, modifierTypes.GOLDEN_POKEBALL)); } else { const superExpWave = !this.scene.gameMode.isEndless ? 20 : 10; + if (this.scene.gameMode.isEndless && this.scene.currentBattle.waveIndex === 10) + this.scene.pushPhase(new ModifierRewardPhase(this.scene, modifierTypes.EXP_SHARE)); if (this.scene.currentBattle.waveIndex <= 750 && (this.scene.currentBattle.waveIndex <= 500 || (this.scene.currentBattle.waveIndex % 30) === superExpWave)) this.scene.pushPhase(new ModifierRewardPhase(this.scene, (this.scene.currentBattle.waveIndex % 30) !== superExpWave || this.scene.currentBattle.waveIndex > 250 ? modifierTypes.EXP_CHARM : modifierTypes.SUPER_EXP_CHARM)); if (this.scene.currentBattle.waveIndex <= 150 && !(this.scene.currentBattle.waveIndex % 50))