From 670013a1076562698db6220777577d65772d0c4f Mon Sep 17 00:00:00 2001 From: ImperialSympathizer Date: Fri, 19 Jul 2024 15:33:07 -0400 Subject: [PATCH] bug fix for empty modifier shop --- src/phases.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/phases.ts b/src/phases.ts index bbf3115e671..22a7b8bdd98 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -5386,10 +5386,10 @@ export class SelectModifierPhase extends BattlePhase { return true; case 1: if (typeOptions.length === 0) { - this.scene.ui.revertMode(); + this.scene.ui.clearText(); this.scene.ui.setMode(Mode.MESSAGE); super.end(); - return; + return true; } modifierType = typeOptions[cursor].type; break;