From e83c68b54884e2fa7e3aa6668ccb3d41b2cc0029 Mon Sep 17 00:00:00 2001 From: Ivo Julca Date: Sat, 11 Apr 2015 20:18:59 -0500 Subject: [PATCH] Revert "Update Leppa Berry message to use getMove" This reverts commit 05f0f65d678e158a2aadc2fc4065e7c2094dd700. --- js/battle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/battle.js b/js/battle.js index cca307ea4..9fcbe3cad 100644 --- a/js/battle.js +++ b/js/battle.js @@ -4727,7 +4727,7 @@ var Battle = (function () { actions += '' + poke.getName() + '\'s ' + effect.name + ' let it move first!'; break; case 'leppaberry': - actions += '' + poke.getName() + " restored PP to its " + Tools.getMove(args[3]).name + " move using Leppa Berry!"; + actions += '' + poke.getName() + " restored PP to its " + Tools.escapeHTML(args[3]) + " move using Leppa Berry!"; break; case 'focusband': actions += '' + poke.getName() + " hung on using its Focus Band!";