mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-23 15:59:26 +02:00
Compare commits
3 Commits
1c4956ac41
...
fc513d3895
Author | SHA1 | Date | |
---|---|---|---|
|
fc513d3895 | ||
|
1f5f228c80 | ||
|
46c78a0540 |
@ -778,7 +778,7 @@ export class PokemonSpecies extends PokemonSpeciesForm implements Localizable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (key) {
|
if (key) {
|
||||||
return i18next.t(`battlePokemonForm:${key}`, {
|
return i18next.t(`battlePokemonForm:${toCamelCase(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:${formKey}`, { pokemonName: this.name })
|
? i18next.t(`battlePokemonForm:${toCamelCase(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,6 +208,26 @@ 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