Stadium: Fix lastMove crashes

This commit is contained in:
Marty-D 2018-02-11 17:53:40 -05:00
parent faf414a32b
commit 5d94c19d93

View File

@ -88,6 +88,7 @@ exports.BattleScripts = {
if (!lockedMove && !pokemon.volatiles['partialtrappinglock']) {
pokemon.deductPP(move, null, target);
}
pokemon.moveUsed(move);
this.useMove(move, pokemon, target, sourceEffect);
this.singleEvent('AfterMove', move, null, pokemon, target, move);