[Bug] Fix affix used when enemy trainer switches Pokemon (#3899)
This commit is contained in:
parent
634bfb7900
commit
39cfe69cd9
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue