mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-03 23:12:20 +02:00
Fix affix used in switches
This commit is contained in:
parent
35f522fd99
commit
302d9babbc
@ -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
Block a user