Implement encore move

This commit is contained in:
Flashfyre committed 2023-11-16 00:58:57 -05:00
1 parent 23c2b4fc63
commit 85866169ac
5 files changed
+111 -30

No files matched your search

+2
View File
@@ -63,6 +63,8 @@ export default class CommandUiHandler extends UiHandler {
if (button === Button.ACTION) {
switch (cursor) {
case 0:
if ((this.scene.getCurrentPhase() as CommandPhase).checkFightOverride())
return true;
ui.setMode(Mode.FIGHT, (this.scene.getCurrentPhase() as CommandPhase).getFieldIndex());
success = true;
break;