From 3371e1189c6ebe00a9ed321a935a823f3a109571 Mon Sep 17 00:00:00 2001 From: Marty-D Date: Tue, 12 May 2015 11:03:17 -0400 Subject: [PATCH] Remove Attract tag silently when not Oblivious --- js/battle.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/battle.js b/js/battle.js index 01f7d8801..abaf8d3de 100644 --- a/js/battle.js +++ b/js/battle.js @@ -4373,8 +4373,10 @@ var Battle = (function () { actions += "" + poke.getName() + "'s Heal Block wore off!"; break; case 'attract': - this.resultAnim(poke, 'Attract ended', 'good', animDelay); - actions += '' + poke.getName() + " got over its infatuation."; + if (!kwargs.silent) { + this.resultAnim(poke, 'Attract ended', 'good', animDelay); + actions += '' + poke.getName() + " got over its infatuation."; + } break; case 'taunt': this.resultAnim(poke, 'Taunt ended', 'good', animDelay);