mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-31 05:07:11 +00:00
[Sprite] Target FormSpriteKey-labelled sprite assets (#3322)
This commit is contained in:
parent
ca64c4aaf2
commit
d879436751
@ -301,7 +301,7 @@ export abstract class PokemonSpeciesForm {
|
||||
let variantDataIndex: integer|string = this.speciesId;
|
||||
const species = getPokemonSpecies(this.speciesId);
|
||||
if (species.forms.length > 0) {
|
||||
formkey = species.forms[formIndex]?.formKey;
|
||||
formkey = species.forms[formIndex]?.formSpriteKey;
|
||||
if (formkey) {
|
||||
variantDataIndex = `${this.speciesId}-${formkey}`;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user