Battle Animations: Add support for natures as effect tags

This commit is contained in:
Kris Johnson 2025-01-11 12:40:32 -07:00 committed by GitHub
parent ec3e54241c
commit fac8296675
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'];
}