From 1f65d1da5b6fba3d8aa5da7d9bc20a3c85b679b6 Mon Sep 17 00:00:00 2001 From: asgdf Date: Tue, 14 Feb 2017 18:27:50 +0100 Subject: [PATCH] Show event abilities in battle tooltips (#865) --- js/client-battle-tooltips.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/client-battle-tooltips.js b/js/client-battle-tooltips.js index 8186d4a28..f2c299004 100644 --- a/js/client-battle-tooltips.js +++ b/js/client-battle-tooltips.js @@ -470,6 +470,7 @@ var BattleTooltips = (function () { text += '

Possible abilities: ' + Tools.getAbility(ability0).name; if (template.abilities['1']) text += ', ' + Tools.getAbility(template.abilities['1']).name; if (this.battle.gen > 4 && template.abilities['H']) text += ', ' + Tools.getAbility(template.abilities['H']).name; + if (this.battle.gen > 6 && template.abilities['S']) text += ', ' + Tools.getAbility(template.abilities['S']).name; text += '

'; } } else if (pokemon.ability) {