Compare commits

..

1 Commits

Author SHA1 Message Date
fabske0
1c4956ac41
Merge 9b2859b2ca into 98809c28bd 2025-08-16 00:29:54 +02:00
2 changed files with 2 additions and 22 deletions

View File

@ -778,7 +778,7 @@ export class PokemonSpecies extends PokemonSpeciesForm implements Localizable {
} }
if (key) { if (key) {
return i18next.t(`battlePokemonForm:${toCamelCase(key)}`, { return i18next.t(`battlePokemonForm:${key}`, {
pokemonName: this.name, pokemonName: this.name,
}); });
} }
@ -841,7 +841,7 @@ export class PokemonSpecies extends PokemonSpeciesForm implements Localizable {
].includes(formKey as SpeciesFormKey) ].includes(formKey as SpeciesFormKey)
) { ) {
return append return append
? i18next.t(`battlePokemonForm:${toCamelCase(formKey)}`, { pokemonName: this.name }) ? i18next.t(`battlePokemonForm:${formKey}`, { pokemonName: this.name })
: i18next.t(`pokemonForm:battleForm.${formKey}`); : i18next.t(`pokemonForm:battleForm.${formKey}`);
} else if ( } else if (
region === Region.NORMAL || region === Region.NORMAL ||

View File

@ -208,26 +208,6 @@ export class PokedexMonContainer extends Phaser.GameObjects.Container {
); );
this.checkIconId(defaultProps.female, defaultProps.formIndex, defaultProps.shiny, defaultProps.variant); this.checkIconId(defaultProps.female, defaultProps.formIndex, defaultProps.shiny, defaultProps.variant);
this.add(this.icon); this.add(this.icon);
[
this.hiddenAbilityIcon,
this.favoriteIcon,
this.classicWinIcon,
this.candyUpgradeIcon,
this.candyUpgradeOverlayIcon,
this.eggMove1Icon,
this.tmMove1Icon,
this.eggMove2Icon,
this.tmMove2Icon,
this.passive1Icon,
this.passive2Icon,
this.passive1OverlayIcon,
this.passive2OverlayIcon,
].forEach(icon => {
if (icon) {
this.bringToTop(icon);
}
});
} }
checkIconId(female, formIndex, shiny, variant) { checkIconId(female, formIndex, shiny, variant) {