From e6843f09afa12ef7fb4f9ffcff2fadcb942aebce Mon Sep 17 00:00:00 2001 From: urkerab Date: Mon, 8 May 2017 09:48:07 +0100 Subject: [PATCH] Mark Illusion when it wears off (#914) --- js/battle.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/battle.js b/js/battle.js index 908196cd5..b116abc1d 100644 --- a/js/battle.js +++ b/js/battle.js @@ -5105,6 +5105,7 @@ var Battle = (function () { case 'illusion': this.resultAnim(poke, 'Illusion ended', 'bad'); actions += "" + poke.getName() + "'s illusion wore off!"; + poke.markAbility('Illusion'); break; case 'slowstart': this.resultAnim(poke, 'Slow Start ended', 'good');