remove unnecessary prompt handlers

This commit is contained in:
ImperialSympathizer 2024-07-25 12:25:20 -04:00
parent c2e5a58f59
commit d37e6a6c20

View File

@ -42,17 +42,6 @@ export async function runMysteryEncounterToEnd(game: GameManager, optionNo: numb
uiHandler.processInput(Button.ACTION); uiHandler.processInput(Button.ACTION);
}); });
// Handle modifier reward dialogue
game.onNextPrompt("ModifierRewardPhase", Mode.MESSAGE, () => {
const uiHandler = game.scene.ui.getHandler<MessageUiHandler>();
uiHandler.processInput(Button.ACTION);
});
game.onNextPrompt("SelectModifier", Mode.MODIFIER_SELECT, () => {
const uiHandler = game.scene.ui.getHandler<MessageUiHandler>();
uiHandler.processInput(Button.ACTION);
});
if (isBattle) { if (isBattle) {
await game.phaseInterceptor.to(CommandPhase); await game.phaseInterceptor.to(CommandPhase);
} else { } else {