diff --git a/src/data/abilities/ability.ts b/src/data/abilities/ability.ts index 1ef76af50de..97953dd6169 100644 --- a/src/data/abilities/ability.ts +++ b/src/data/abilities/ability.ts @@ -1983,7 +1983,7 @@ export class AllyMoveCategoryPowerBoostAbAttr extends FieldMovePowerBoostAbAttr */ constructor(boostedCategories: MoveCategory[], powerMultiplier: number) { super((_pokemon, _defender, move) => { - if (_pokemon === null) { + if (isNullOrUndefined(pokemon)) { return false; } return boostedCategories.includes(_pokemon.getMoveCategory(_defender, move));