Change -endability message structure

With Simple Beam and Worry Seed now using -endability as well to reveal
the old ability, it is more appropriate to use a new message. Parentheses
are traditionally used by the client to indicate messages that do not
actually appear as in-game text.
This commit is contained in:
Kevin Lau
2015-06-25 12:30:02 -07:00
parent 3987b06098
commit 97eaa72cbf

View File

@@ -3977,7 +3977,7 @@ var Battle = (function () {
actions += '' + poke.getName() + ' copied ' + ofpoke.getLowerName() + '\'s ' + ability.name + ' Ability!';
break;
case 'mummy':
// actions += "" + poke.getName() + "'s Ability became Mummy!";
actions += "" + poke.getName() + "'s Ability became Mummy!";
break;
case 'desolateland':
if (kwargs.fail) {
@@ -4043,15 +4043,12 @@ var Battle = (function () {
if (kwargs.silent) {
// do nothing
} else switch (effect.id) {
case 'mummy':
actions += "[" + poke.getName() + "\'s " + ability.name + "] " + poke.name + "'s Ability became Mummy!";
} else if (ability.exists) {
actions += "(" + poke.getName() + "'s " + ability.name + " was removed.)";
this.resultAnim(poke, ability.name + ' removed', 'bad', animDelay);
if (!poke.baseAbility) poke.baseAbility = ability.name;
poke.ability = 'Mummy';
break;
default:
} else {
actions += "" + poke.getName() + "\'s Ability was suppressed!";
break;
}
break;