mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-24 11:10:46 -05:00
Modify stat display
The value now precedes the stat name
This commit is contained in:
@@ -832,7 +832,7 @@
|
||||
text += '<p>Item: ' + Tools.getItem(pokemon.item).name + '</p>';
|
||||
}
|
||||
if (pokemon.stats) {
|
||||
text += '<p>Atk ' + pokemon.stats['atk'] + ' / Def ' + pokemon.stats['def'] + ' / SpA ' + pokemon.stats['spa'] + ' / SpD ' + pokemon.stats['spd'] + ' / Spe ' + pokemon.stats['spe'] + '</p>';
|
||||
text += '<p>' + pokemon.stats['atk'] + ' Atk / ' + pokemon.stats['def'] + ' Def / ' + pokemon.stats['spa'] + ' SpA / ' + pokemon.stats['spd'] + ' SpD / ' + pokemon.stats['spe'] + ' Spe</p>';
|
||||
}
|
||||
if (pokemon.moves && pokemon.moves.length && (!isActive || isActive === 'foe')) {
|
||||
text += '<p class="section">';
|
||||
|
||||
Reference in New Issue
Block a user