mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-20 05:58:08 -05:00
Stadium: Fix lastMove crashes
This commit is contained in:
parent
faf414a32b
commit
5d94c19d93
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user