mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 16:26:25 +00:00
[Bug] Restrict Menu Access to Specific Game Modes + Gamepad Start Button in Select-Starter Menu (#2064)
* fix softlock + start run on button menu for gamepad on starter_select * chop chop even more mode to the menu whitelist
This commit is contained in:
parent
8d75670a81
commit
725df33600
@ -162,20 +162,13 @@ export class UiInputs {
|
||||
}
|
||||
case Mode.TITLE:
|
||||
case Mode.COMMAND:
|
||||
case Mode.FIGHT:
|
||||
case Mode.BALL:
|
||||
case Mode.TARGET_SELECT:
|
||||
case Mode.SAVE_SLOT:
|
||||
case Mode.PARTY:
|
||||
case Mode.SUMMARY:
|
||||
case Mode.STARTER_SELECT:
|
||||
case Mode.OPTION_SELECT:
|
||||
case Mode.MODIFIER_SELECT:
|
||||
this.scene.ui.setOverlayMode(Mode.MENU);
|
||||
break;
|
||||
case Mode.CONFIRM:
|
||||
case Mode.STARTER_SELECT:
|
||||
this.buttonTouch();
|
||||
break;
|
||||
case Mode.MENU:
|
||||
case Mode.SETTINGS:
|
||||
case Mode.ACHIEVEMENTS:
|
||||
this.scene.ui.revertMode();
|
||||
this.scene.playSound("select");
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user