mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-15 03:49:33 +02:00
xxxxxx
This commit is contained in:
parent
8b4951ed63
commit
502d6d9e12
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user