From e1c03bf49ac8659d3a6109c8fd7cc01c49abe09f Mon Sep 17 00:00:00 2001 From: The Immortal Date: Fri, 24 Jul 2015 08:40:47 +0400 Subject: [PATCH] Add Stance Change activation --- js/battle.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/battle.js b/js/battle.js index 55e30d5a8..169666782 100644 --- a/js/battle.js +++ b/js/battle.js @@ -4116,8 +4116,12 @@ var Battle = (function () { } else if (toId(template.species) === 'darmanitan') { actions += "Zen Mode ended!"; } else if (toId(template.species) === 'aegislashblade') { + this.resultAnim(poke, 'Stance Change', 'ability', animDelay); + this.message('', "[" + poke.getName(true) + "'s Stance Change!]"); actions += "Changed to Blade Forme!"; } else if (toId(template.species) === 'aegislash') { + this.resultAnim(poke, 'Stance Change', 'ability', animDelay); + this.message('', "[" + poke.getName(true) + "'s Stance Change!]"); actions += "Changed to Shield Forme!"; } poke.sprite.animTransform($.extend(spriteData, template));