fix remaining encore issues

pull/761/head
f-raZ0R 2024-05-13 19:41:12 -04:00
parent 6230896822
commit 39a913ed38
1 changed files with 1 additions and 1 deletions

View File

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