Skip to content

Commit

Permalink
Merge pull request smogon#346 from ascriptmaster/move-messages
Browse files Browse the repository at this point in the history
Update Leppa Berry message to use getMove
  • Loading branch information
TheImmortal committed Apr 2, 2015
2 parents c4fe423 + 05f0f65 commit 0d00663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/battle.js
Original file line number Diff line number Diff line change
Expand Up @@ -4717,7 +4717,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.escapeHTML(args[3]) + " move using Leppa Berry!";
actions += '' + poke.getName() + " restored PP to its " + Tools.getMove(args[3]).name + " move using Leppa Berry!";
break;
case 'focusband':
actions += '' + poke.getName() + " hung on using its Focus Band!";
Expand Down

0 comments on commit 0d00663

Please sign in to comment.