From 302d9babbca6d0c9ecc20d6a69405ed6f1d41db9 Mon Sep 17 00:00:00 2001 From: AJ Fontaine Date: Thu, 29 Aug 2024 15:35:41 -0400 Subject: [PATCH] Fix affix used in switches --- src/phases/switch-summon-phase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases/switch-summon-phase.ts b/src/phases/switch-summon-phase.ts index 68dc8f8bf65..8201f2879ed 100644 --- a/src/phases/switch-summon-phase.ts +++ b/src/phases/switch-summon-phase.ts @@ -71,7 +71,7 @@ export class SwitchSummonPhase extends SummonPhase { i18next.t("battle:playerComeBack", { pokemonName: getPokemonNameWithAffix(pokemon) }) : i18next.t("battle:trainerComeBack", { trainerName: this.scene.currentBattle.trainer?.getName(!(this.fieldIndex % 2) ? TrainerSlot.TRAINER : TrainerSlot.TRAINER_PARTNER), - pokemonName: getPokemonNameWithAffix(pokemon) + pokemonName: pokemon.getNameToRender() }) ); this.scene.playSound("se/pb_rel");