mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 00:09:31 +02:00
Compare commits
1 Commits
fc513d3895
...
1c4956ac41
Author | SHA1 | Date | |
---|---|---|---|
|
1c4956ac41 |
@ -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 ||
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user