Fix Leppa Berry protocol message

Apparently the move data that stores PP doesn't have a "name" property.
This commit is contained in:
Kevin Lau 2015-04-01 23:09:02 -07:00
parent e0f82212ce
commit b0e7711685

View File

@ -2309,7 +2309,7 @@ exports.BattleItems = {
}
move.pp += 10;
if (move.pp > move.maxpp) move.pp = move.maxpp;
this.add('-activate', pokemon, 'item: Leppa Berry', 'move: ' + move.name);
this.add('-activate', pokemon, 'item: Leppa Berry', move.id);
},
num: 154,
gen: 3,