mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02:00
Fixed issues described by HopsWas
This commit is contained in:
parent
489cf1df52
commit
c078028538
@ -485,10 +485,10 @@ export default class SummaryUiHandler extends UiHandler {
|
|||||||
if (this.summaryUiMode === SummaryUiMode.LEARN_MOVE) {
|
if (this.summaryUiMode === SummaryUiMode.LEARN_MOVE) {
|
||||||
this.hideMoveSelect();
|
this.hideMoveSelect();
|
||||||
} else {
|
} else {
|
||||||
if (!ui.getMessageHandler().onActionInput) {
|
if (ui.getMessageHandler().onActionInput) {
|
||||||
ui.setMode(Mode.PARTY);
|
|
||||||
} else {
|
|
||||||
ui.setMode(Mode.MESSAGE);
|
ui.setMode(Mode.MESSAGE);
|
||||||
|
} else {
|
||||||
|
ui.setMode(Mode.PARTY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
success = true;
|
success = true;
|
||||||
@ -499,6 +499,8 @@ export default class SummaryUiHandler extends UiHandler {
|
|||||||
case Button.DOWN:
|
case Button.DOWN:
|
||||||
if (this.summaryUiMode === SummaryUiMode.LEARN_MOVE) {
|
if (this.summaryUiMode === SummaryUiMode.LEARN_MOVE) {
|
||||||
break;
|
break;
|
||||||
|
} else if (ui.getMessageHandler().onActionInput) {
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
const isDown = button === Button.DOWN;
|
const isDown = button === Button.DOWN;
|
||||||
const party = this.scene.getParty();
|
const party = this.scene.getParty();
|
||||||
|
Loading…
Reference in New Issue
Block a user