From c154c5251788fcfaa388b381b24132aed4c82baa Mon Sep 17 00:00:00 2001 From: chaosgrimmon <31082757+chaosgrimmon@users.noreply.github.com> Date: Tue, 27 Aug 2024 16:25:36 -0400 Subject: [PATCH] [Bug] Show variant icons when forms share masterlist entry (#3767) --- src/data/pokemon-species.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/pokemon-species.ts b/src/data/pokemon-species.ts index 14779688fc2..832f7112748 100644 --- a/src/data/pokemon-species.ts +++ b/src/data/pokemon-species.ts @@ -306,7 +306,7 @@ export abstract class PokemonSpeciesForm { let variantDataIndex: integer | string = this.speciesId; const species = getPokemonSpecies(this.speciesId); if (species.forms.length > 0 && formIndex !== undefined) { - formkey = species.forms[formIndex]?.formSpriteKey; + formkey = species.forms[formIndex]?.getFormSpriteKey(formIndex); if (formkey) { variantDataIndex = `${this.speciesId}-${formkey}`; }