Remove Attract tag silently when not Oblivious

This commit is contained in:
Marty-D
2015-05-12 11:03:17 -04:00
parent 79e0bacbd5
commit 3371e1189c

View File

@@ -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);