Fix locked move and PP tracking interaction

This commit is contained in:
Guangcong Luo 2015-07-26 04:18:18 -04:00
parent eb55cf35d4
commit 8fd4ea2bae

View File

@ -44,6 +44,8 @@ exports.BattleScripts = {
this.clearActiveMove(true);
return;
}
} else {
sourceEffect = this.getEffect('lockedmove');
}
pokemon.moveUsed(move);
this.useMove(move, pokemon, target, sourceEffect);