mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-05 21:17:43 -05:00
Fix locked move and PP tracking interaction
This commit is contained in:
parent
eb55cf35d4
commit
8fd4ea2bae
|
|
@ -44,6 +44,8 @@ exports.BattleScripts = {
|
|||
this.clearActiveMove(true);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
sourceEffect = this.getEffect('lockedmove');
|
||||
}
|
||||
pokemon.moveUsed(move);
|
||||
this.useMove(move, pokemon, target, sourceEffect);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user