fix remaining encore issues

This commit is contained in:
f-raZ0R 2024-05-13 19:41:12 -04:00
parent 6230896822
commit 39a913ed38

View File

@ -1851,7 +1851,7 @@ export class CommandPhase extends FieldPhase {
if (!pokemon.getMoveset()[moveIndex].isUsable(pokemon) || !pokemon.getMoveset()[moveIndex].isSelectable(pokemon)) {
this.handleCommand(Command.FIGHT, 0, true, false);
this.handleCommand(Command.FIGHT, 5, true, false);
return true;
}
this.handleCommand(Command.FIGHT, moveIndex, false, false);