From 8ab21b99fb4cf49a3d9ee0af7a4d686885a51f9a Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Thu, 18 Apr 2024 00:24:57 -0400 Subject: [PATCH] Fix menu disabling --- src/phases.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/phases.ts b/src/phases.ts index 38a858fe05f..f38c8723cbe 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -3221,6 +3221,8 @@ export class TrainerVictoryPhase extends BattlePhase { } start() { + this.scene.disableMenu = true; + this.scene.playBgm(this.scene.currentBattle.trainer.config.victoryBgm); this.scene.unshiftPhase(new MoneyRewardPhase(this.scene, this.scene.currentBattle.trainer.config.moneyMultiplier)); @@ -3305,7 +3307,6 @@ export class ModifierRewardPhase extends BattlePhase { doReward(): Promise { return new Promise(resolve => { - this.scene.disableMenu = true; const newModifier = this.modifierType.newModifier(); this.scene.addModifier(newModifier).then(() => { this.scene.playSound('item_fanfare');