[Bug] Show ribbons for forms of evolutions (#6708)

This commit is contained in:
Wlowscha 2025-10-29 11:20:52 +01:00 committed by GitHub
parent 3c41b26045
commit a66f183a30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ export function getAvailableRibbons(species: PokemonSpecies): RibbonFlag[] {
data |= getRibbonForType(checkingSpecies.type2);
}
for (const form of species.forms) {
for (const form of checkingSpecies.forms) {
data |= getRibbonForType(form.type1);
if (form.type2 != null) {
data |= getRibbonForType(form.type2);