mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 15:53:11 -05:00
Merge pull request #516 from urkerab/gen2-tooltip-item
Fix item display in Gen2 battles
This commit is contained in:
@@ -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'] + ' Atk / ' + myPokemon.stats['def'] + ' Def / ' + myPokemon.stats['spa'];
|
||||
if (this.battle.gen === 1) {
|
||||
|
||||
Reference in New Issue
Block a user