From 8fd4ea2baec8cc4e6c1f22db0f3ad5bfb2ec3f79 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sun, 26 Jul 2015 04:18:18 -0400 Subject: [PATCH] Fix locked move and PP tracking interaction --- data/scripts.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/scripts.js b/data/scripts.js index 488808b202..d65a63e65c 100644 --- a/data/scripts.js +++ b/data/scripts.js @@ -44,6 +44,8 @@ exports.BattleScripts = { this.clearActiveMove(true); return; } + } else { + sourceEffect = this.getEffect('lockedmove'); } pokemon.moveUsed(move); this.useMove(move, pokemon, target, sourceEffect);