mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-20 05:48:22 -05:00
Modify stat display
The value now precedes the stat name
This commit is contained in:
parent
f9065eaff8
commit
e2e8b4b781
|
|
@ -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">';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user