mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 00:09:31 +02:00
change pokemon form battle use
This commit is contained in:
parent
9b2859b2ca
commit
1f5f228c80
@ -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 ||
|
||||||
|
Loading…
Reference in New Issue
Block a user