diff --git a/js/battle.js b/js/battle.js index 5c7b37d65..ae1f2c18b 100644 --- a/js/battle.js +++ b/js/battle.js @@ -3377,17 +3377,14 @@ var Battle = (function () { var effect = Tools.getEffect(kwargs.from); var ofpoke = this.getPokemon(kwargs.of); switch (effect.id) { - case 'competitive': - case 'defiant': - this.resultAnim(poke, effect.name, 'ability', animDelay); - this.message('', "[" + poke.getName(true) + "'s " + effect.name + "!]"); - actions += "" + poke.getName() + "'s " + BattleStats[stat] + " rose " + amountString + "!"; - break; default: + if (effect.effectType === 'Ability') { + this.resultAnim(poke, effect.name, 'ability', animDelay); + this.message('', "[" + poke.getName(true) + "'s " + effect.name + "!]"); + actions += "" + poke.getName() + "'s " + BattleStats[stat] + " rose" + amountString + "!"; + } if (effect.effectType === 'Item') { actions += "The " + effect.name + amountString + " raised " + poke.getLowerName() + "'s " + BattleStats[stat] + "!"; - } else { - actions += "" + poke.getName() + "'s " + effect.name + amountString + " raised its " + BattleStats[stat] + "!"; } break; }