mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 07:42:12 -05:00
Don't treat locked moves as called moves
This commit is contained in:
@@ -5608,7 +5608,7 @@ var Battle = (function () {
|
||||
break;
|
||||
case 'move':
|
||||
this.endLastTurn();
|
||||
if (!kwargs.from && this.waitForResult()) return;
|
||||
if ((!kwargs.from || kwargs.from === 'lockedmove') && this.waitForResult()) return;
|
||||
var poke = this.getPokemon(args[1]);
|
||||
var move = Tools.getMove(args[2]);
|
||||
if (this.checkActive(poke)) return;
|
||||
|
||||
Reference in New Issue
Block a user