[hotfix] fix message when helping hand (#2410)

This commit is contained in:
Enoch 2024-06-20 00:34:17 +09:00 committed by GitHub
parent 150bd35822
commit afe70453b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -572,7 +572,7 @@ export class HelpingHandTag extends BattlerTag {
onAdd(pokemon: Pokemon): void { onAdd(pokemon: Pokemon): void {
pokemon.scene.queueMessage( pokemon.scene.queueMessage(
i18next.t("battle:battlerTagsHelpingHandOnAdd", { i18next.t("battle:battlerTagsHelpingHandOnAdd", {
pokemonNameWithAffix: pokemon.scene.getPokemonById(this.sourceId), pokemonNameWithAffix: getPokemonNameWithAffix(pokemon.scene.getPokemonById(this.sourceId)),
pokemonName: pokemon.name pokemonName: pokemon.name
}) })
); );