Minor Change

This commit is contained in:
xsn34kzx 2025-08-04 12:57:40 -04:00
parent ac80209848
commit 968b4d410f

View File

@ -54,7 +54,7 @@ export class PokemonMove {
(ignorePp || this.ppUsed < this.getMovePp() || move.pp === -1) &&
!(this.moveId && !ignoreRestrictionTags && pokemon.isMoveRestricted(this.moveId, pokemon)),
);
if (usability.value && pokemon.isPlayer()) {
if (pokemon.isPlayer()) {
applyChallenges(ChallengeType.POKEMON_MOVE, move.id, usability);
}
return usability.value;