Make party UI more flexible
This commit is contained in:
1 parent
2d819a0ea4
commit
56c776834f
3 files changed
+57
-24
No files matched your search
@@ -2,6 +2,7 @@ import { CommandPhase } from "../battle-phase";
|
||||
import BattleScene from "../battle-scene";
|
||||
import { addTextObject, TextStyle } from "../text";
|
||||
import { toPokemonUpperCase } from "../utils";
|
||||
import { PartyUiMode } from "./party-ui-handler";
|
||||
import UI, { Mode } from "./ui";
|
||||
import UiHandler from "./uiHandler";
|
||||
|
||||
@@ -65,7 +66,7 @@ export default class CommandUiHandler extends UiHandler {
|
||||
success = true;
|
||||
break;
|
||||
case 2:
|
||||
ui.setMode(Mode.PARTY);
|
||||
ui.setMode(Mode.PARTY, PartyUiMode.SWITCH);
|
||||
success = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user