mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-04-25 07:57:01 -05:00
Battle Animations: Add support for natures as effect tags
This commit is contained in:
parent
ec3e54241c
commit
fac8296675
|
|
@ -2859,6 +2859,8 @@ export class PokemonSprite extends Sprite {
|
|||
label = Dex.moves.get(id).name;
|
||||
} else if (Dex.abilities.get(id).exists) {
|
||||
label = Dex.abilities.get(id).name;
|
||||
} else if (Dex.natures.get(id).exists) {
|
||||
label = Dex.natures.get(id).name;
|
||||
}
|
||||
effect = [label, 'neutral'];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user