remove unnecessary prompt handlers
This commit is contained in:
parent
c2e5a58f59
commit
d37e6a6c20
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue