diff --git a/js/client-battle.js b/js/client-battle.js
index 14d963f71..13bd07a5c 100644
--- a/js/client-battle.js
+++ b/js/client-battle.js
@@ -397,7 +397,7 @@
controls += ' ';
}
}
- if (this.finalDecision) {
+ if (this.finalDecision && this.battle.gen > 2) {
controls += 'You might be trapped, so you won\'t be able to cancel a switch!
';
}
}
@@ -821,15 +821,17 @@
if (pokemon.maxhp != 100 && pokemon.maxhp != 1000 && pokemon.maxhp != 48) exacthp = ' ('+pokemon.hp+'/'+pokemon.maxhp+')';
if (pokemon.maxhp == 48 && isActive) exacthp = ' ('+pokemon.hp+'/'+pokemon.maxhp+' pixels)';
text += '
HP: ' + pokemon.hpDisplay() +exacthp+(pokemon.status?' '+pokemon.status.toUpperCase()+'':'')+'
'; - if (!pokemon.baseAbility && !pokemon.ability) { - text += 'Possible abilities: ' + Tools.getAbility(template.abilities['0']).name; - if (template.abilities['1']) text += ', ' + Tools.getAbility(template.abilities['1']).name; - if (template.abilities['H']) text += ', ' + Tools.getAbility(template.abilities['H']).name; - text += '
'; - } else if (pokemon.ability) { - text += 'Ability: ' + Tools.getAbility(pokemon.ability).name + '
'; - } else if (pokemon.baseAbility) { - text += 'Ability: ' + Tools.getAbility(pokemon.baseAbility).name + '
'; + if (this.battle.gen > 2) { + if (!pokemon.baseAbility && !pokemon.ability) { + text += 'Possible abilities: ' + Tools.getAbility(template.abilities['0']).name; + if (template.abilities['1']) text += ', ' + Tools.getAbility(template.abilities['1']).name; + if (template.abilities['H']) text += ', ' + Tools.getAbility(template.abilities['H']).name; + text += '
'; + } else if (pokemon.ability) { + text += 'Ability: ' + Tools.getAbility(pokemon.ability).name + '
'; + } else if (pokemon.baseAbility) { + text += 'Ability: ' + Tools.getAbility(pokemon.baseAbility).name + '
'; + } } if (pokemon.item) { text += 'Item: ' + Tools.getItem(pokemon.item).name + '
';