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) {
|
||||
return i18next.t(`battlePokemonForm:${key}`, {
|
||||
return i18next.t(`battlePokemonForm:${toCamelCase(key)}`, {
|
||||
pokemonName: this.name,
|
||||
});
|
||||
}
|
||||
@ -841,7 +841,7 @@ export class PokemonSpecies extends PokemonSpeciesForm implements Localizable {
|
||||
].includes(formKey as SpeciesFormKey)
|
||||
) {
|
||||
return append
|
||||
? i18next.t(`battlePokemonForm:${formKey}`, { pokemonName: this.name })
|
||||
? i18next.t(`battlePokemonForm:${toCamelCase(formKey)}`, { pokemonName: this.name })
|
||||
: i18next.t(`pokemonForm:battleForm.${formKey}`);
|
||||
} else if (
|
||||
region === Region.NORMAL ||
|
||||
|
Loading…
Reference in New Issue
Block a user