From 5a233a401db07889fa7bd13bc51dab327174a3dc Mon Sep 17 00:00:00 2001 From: ascriptmaster Date: Tue, 30 Sep 2014 19:18:34 -0700 Subject: [PATCH] Added message case for -ability when Cloud Nine or Air Lock activate The server-side code is changing soon to have Cloud Nine/Air Lock broadcast '-ability' instead of '-message', so we need to add the relevant messages to the client-side as well. --- js/battle.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/battle.js b/js/battle.js index 339497071..85cc7ad0e 100644 --- a/js/battle.js +++ b/js/battle.js @@ -3792,6 +3792,10 @@ function Battle(frame, logFrame, noPreload) { case 'darkaura': actions += "" + poke.getName() + " is radiating a dark aura!"; break; + case 'airlock': + case 'cloudnine': + actions += "The effects of weather disappeared."; + break; default: actions += "" + poke.getName() + " has " + ability.name + "!"; break;