mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-16 17:27:41 +00:00
Basically titles are now always shown (like in the real games)
This commit is contained in:
parent
a6ca265640
commit
6943860539
@ -80,7 +80,7 @@ export class SummonPhase extends PartyMemberPokemonPhase {
|
||||
});
|
||||
this.scene.time.delayedCall(750, () => this.summon());
|
||||
} else {
|
||||
const trainerName = this.scene.currentBattle.trainer?.getName(!(this.fieldIndex % 2) ? TrainerSlot.TRAINER : TrainerSlot.TRAINER_PARTNER);
|
||||
const trainerName = this.scene.currentBattle.trainer?.getName(!(this.fieldIndex % 2) ? TrainerSlot.TRAINER : TrainerSlot.TRAINER_PARTNER, true);
|
||||
const pokemonName = this.getPokemon().getNameToRender();
|
||||
const message = i18next.t("battle:trainerSendOut", { trainerName, pokemonName });
|
||||
|
||||
|
@ -70,7 +70,7 @@ export class SwitchSummonPhase extends SummonPhase {
|
||||
this.scene.ui.showText(this.player ?
|
||||
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),
|
||||
trainerName: this.scene.currentBattle.trainer?.getName(!(this.fieldIndex % 2) ? TrainerSlot.TRAINER : TrainerSlot.TRAINER_PARTNER, true),
|
||||
pokemonName: getPokemonNameWithAffix(pokemon)
|
||||
})
|
||||
);
|
||||
@ -111,7 +111,7 @@ export class SwitchSummonPhase extends SummonPhase {
|
||||
this.scene.ui.showText(this.player ?
|
||||
i18next.t("battle:playerGo", { pokemonName: getPokemonNameWithAffix(switchedInPokemon) }) :
|
||||
i18next.t("battle:trainerGo", {
|
||||
trainerName: this.scene.currentBattle.trainer?.getName(!(this.fieldIndex % 2) ? TrainerSlot.TRAINER : TrainerSlot.TRAINER_PARTNER),
|
||||
trainerName: this.scene.currentBattle.trainer?.getName(!(this.fieldIndex % 2) ? TrainerSlot.TRAINER : TrainerSlot.TRAINER_PARTNER, true),
|
||||
pokemonName: this.getPokemon().getNameToRender()
|
||||
})
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user