From 773f3b3fea63eaba0e6b18aabc53dbfbfbe49945 Mon Sep 17 00:00:00 2001 From: urkerab Date: Mon, 15 Aug 2016 22:45:31 +0100 Subject: [PATCH] Allow the battle engine to manually cure status after -cureteam (#757) --- js/battle.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/js/battle.js b/js/battle.js index 7ac954bd4..f38880a0d 100644 --- a/js/battle.js +++ b/js/battle.js @@ -4206,7 +4206,7 @@ var Battle = (function () { } break; - case '-cureteam': + case '-cureteam': // For old gens when the whole team was always cured var poke = this.getPokemon(args[1]); for (var k = 0; k < poke.side.pokemon.length; k++) { poke.side.pokemon[k].status = ''; @@ -5133,6 +5133,14 @@ var Battle = (function () { break; // move activations + case 'aromatherapy': + this.resultAnim(poke, 'Team Cured', 'good'); + actions += 'A soothing aroma wafted through the area!'; + break; + case 'healbell': + this.resultAnim(poke, 'Team Cured', 'good'); + actions += 'A bell chimed!'; + break; case 'trick': case 'switcheroo': actions += '' + poke.getName() + ' switched items with its target!';