Merge pull request #516 from urkerab/gen2-tooltip-item

Fix item display in Gen2 battles
This commit is contained in:
Guangcong Luo
2015-10-19 13:40:03 -05:00

View File

@@ -1146,7 +1146,7 @@
}
text += '</p>';
} else if (myPokemon.item) {
text += '<p> / Item: ' + Tools.getItem(myPokemon.item).name + '</p>';
text += '<p>Item: ' + Tools.getItem(myPokemon.item).name + '</p>';
}
text += '<p>' + myPokemon.stats['atk'] + '&nbsp;Atk /&nbsp;' + myPokemon.stats['def'] + '&nbsp;Def /&nbsp;' + myPokemon.stats['spa'];
if (this.battle.gen === 1) {