Fix menu disabling

pull/178/head
Flashfyre 2024-04-18 00:24:57 -04:00
parent 94d5eab489
commit 8ab21b99fb
1 changed files with 2 additions and 1 deletions

View File

@ -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<void> {
return new Promise<void>(resolve => {
this.scene.disableMenu = true;
const newModifier = this.modifierType.newModifier();
this.scene.addModifier(newModifier).then(() => {
this.scene.playSound('item_fanfare');