From 8fa0a7b0d5c0be7deaace5c8d775a794c2ad53f6 Mon Sep 17 00:00:00 2001 From: urkerab Date: Tue, 16 Aug 2016 23:01:05 +0100 Subject: [PATCH] Allow status to be cured silently (#759) --- js/battle.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/battle.js b/js/battle.js index f38880a0d..7a26f0525 100644 --- a/js/battle.js +++ b/js/battle.js @@ -4135,7 +4135,9 @@ var Battle = (function () { var ofpoke = this.getPokemon(kwargs.of); poke.status = ''; - if (effect.id) switch (effect.id) { + if (kwargs.silent) { + // do nothing + } else if (effect.id) switch (effect.id) { case 'psychoshift': actions += '' + poke.getName() + ' moved its status onto ' + ofpoke.getLowerName() + '!'; this.resultAnim(poke, 'Cured', 'good');