From e188e90d1cfa107aa5e36a560e2f1c0ae83c0d8a Mon Sep 17 00:00:00 2001 From: Hans Sorongon Date: Tue, 16 Apr 2024 12:03:18 +0800 Subject: [PATCH] Fix shoulder buttons not working issue --- src/battle-scene.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/battle-scene.ts b/src/battle-scene.ts index 2d63f21654e..bb4803a9eb1 100644 --- a/src/battle-scene.ts +++ b/src/battle-scene.ts @@ -1266,14 +1266,19 @@ export default class BattleScene extends SceneBase { } else if (this.ui?.getHandler() instanceof StarterSelectUiHandler) { if (this.buttonJustPressed(Button.CYCLE_SHINY)) { inputSuccess = this.ui.processInput(Button.CYCLE_SHINY); + this.setLastProcessedMovementTime(Button.CYCLE_SHINY); } else if (this.buttonJustPressed(Button.CYCLE_FORM)) { inputSuccess = this.ui.processInput(Button.CYCLE_FORM); + this.setLastProcessedMovementTime(Button.CYCLE_FORM); } else if (this.buttonJustPressed(Button.CYCLE_GENDER)) { inputSuccess = this.ui.processInput(Button.CYCLE_GENDER); + this.setLastProcessedMovementTime(Button.CYCLE_GENDER); } else if (this.buttonJustPressed(Button.CYCLE_ABILITY)) { inputSuccess = this.ui.processInput(Button.CYCLE_ABILITY); + this.setLastProcessedMovementTime(Button.CYCLE_ABILITY); } else if (this.buttonJustPressed(Button.CYCLE_NATURE)) { inputSuccess = this.ui.processInput(Button.CYCLE_NATURE); + this.setLastProcessedMovementTime(Button.CYCLE_NATURE); } else return; } else if (this.buttonJustPressed(Button.SPEED_UP)) {