This commit is contained in:
Bertie690 2025-08-05 22:33:19 -04:00
parent 8b4951ed63
commit 502d6d9e12

View File

@ -1261,7 +1261,7 @@ export class EncoreTag extends MoveRestrictionBattlerTag {
return false; return false;
} }
if (!pokemon.getMoveset().some(m => m.moveId === this.moveId && !m.isOutOfPp())) { if (!pokemon.getMoveset().some(m => m.moveId === lastMove.move && !m.isOutOfPp())) {
return false; return false;
} }