Fixing cancelling attack when switching your 2nd Pokemon in a double battle
parent
813b4894f3
commit
cb62d79280
|
@ -1066,7 +1066,7 @@ export class CommandPhase extends FieldPhase {
|
||||||
? { command: Command.POKEMON, cursor: cursor, args: args }
|
? { command: Command.POKEMON, cursor: cursor, args: args }
|
||||||
: { command: Command.RUN };
|
: { command: Command.RUN };
|
||||||
success = true;
|
success = true;
|
||||||
if (this.fieldIndex)
|
if (!isSwitch && this.fieldIndex)
|
||||||
this.scene.currentBattle.turnCommands[this.fieldIndex - 1].skip = true;
|
this.scene.currentBattle.turnCommands[this.fieldIndex - 1].skip = true;
|
||||||
} else if (trapTag) {
|
} else if (trapTag) {
|
||||||
this.scene.ui.setMode(Mode.COMMAND, this.fieldIndex);
|
this.scene.ui.setMode(Mode.COMMAND, this.fieldIndex);
|
||||||
|
|
Loading…
Reference in New Issue