Fixed bug which displayed wrong form types

This commit is contained in:
Wlowscha 2025-02-12 00:06:24 +01:00
parent 112a765b00
commit 1c6aba5f56
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -1955,7 +1955,7 @@ export default class PokedexUiHandler extends MessageUiHandler {
}
if (isFormCaught || isFormSeen || globalScene.dexForDevs) {
const speciesForm = getPokemonSpeciesForm(species.speciesId, 0); // TODO: always selecting the first form
const speciesForm = getPokemonSpeciesForm(species.speciesId, formIndex ?? 0); // TODO: always selecting the first form
this.setTypeIcons(speciesForm.type1, speciesForm.type2);
} else {
this.setTypeIcons(null, null);