Update selectWithTera override

This commit is contained in:
Sirz Benjie 2025-04-15 10:05:32 -05:00
parent 00fa13f5ad
commit d2acbdfd04
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E
1 changed files with 3 additions and 3 deletions

View File

@ -76,14 +76,14 @@ export class MoveHelper extends GameManagerHelper {
const movePosition = getMovePosition(this.game.scene, pkmIndex, move);
this.game.scene.getPlayerParty()[pkmIndex].isTerastallized = false;
this.game.onNextPrompt("CommandPhase", Mode.COMMAND, () => {
this.game.onNextPrompt("CommandPhase", UiMode.COMMAND, () => {
this.game.scene.ui.setMode(
Mode.FIGHT,
UiMode.FIGHT,
(this.game.scene.getCurrentPhase() as CommandPhase).getFieldIndex(),
Command.TERA,
);
});
this.game.onNextPrompt("CommandPhase", Mode.FIGHT, () => {
this.game.onNextPrompt("CommandPhase", UiMode.FIGHT, () => {
(this.game.scene.getCurrentPhase() as CommandPhase).handleCommand(Command.TERA, movePosition, false);
});