mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-11 19:02:16 +02:00
Update selectWithTera override
This commit is contained in:
parent
a4a2b9ccec
commit
f450fcbe5b
@ -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);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user