This commit is contained in:
frutescens 2024-10-01 13:06:47 -07:00
parent d0e782e25d
commit 893fddcb12

View File

@ -3025,7 +3025,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
* *
* @see {@linkcode MoveRestrictionBattlerTag} * @see {@linkcode MoveRestrictionBattlerTag}
*/ */
isMoveRestricted(moveId: Moves, pokemon: Pokemon): boolean { isMoveRestricted(moveId: Moves, pokemon?: Pokemon): boolean {
return this.getRestrictingTag(moveId, pokemon) !== null; return this.getRestrictingTag(moveId, pokemon) !== null;
} }