mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02: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());
|
this.scene.time.delayedCall(750, () => this.summon());
|
||||||
} else {
|
} 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 pokemonName = this.getPokemon().getNameToRender();
|
||||||
const message = i18next.t("battle:trainerSendOut", { trainerName, pokemonName });
|
const message = i18next.t("battle:trainerSendOut", { trainerName, pokemonName });
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ export class SwitchSummonPhase extends SummonPhase {
|
|||||||
this.scene.ui.showText(this.player ?
|
this.scene.ui.showText(this.player ?
|
||||||
i18next.t("battle:playerComeBack", { pokemonName: getPokemonNameWithAffix(pokemon) }) :
|
i18next.t("battle:playerComeBack", { pokemonName: getPokemonNameWithAffix(pokemon) }) :
|
||||||
i18next.t("battle:trainerComeBack", {
|
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)
|
pokemonName: getPokemonNameWithAffix(pokemon)
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
@ -111,7 +111,7 @@ export class SwitchSummonPhase extends SummonPhase {
|
|||||||
this.scene.ui.showText(this.player ?
|
this.scene.ui.showText(this.player ?
|
||||||
i18next.t("battle:playerGo", { pokemonName: getPokemonNameWithAffix(switchedInPokemon) }) :
|
i18next.t("battle:playerGo", { pokemonName: getPokemonNameWithAffix(switchedInPokemon) }) :
|
||||||
i18next.t("battle:trainerGo", {
|
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()
|
pokemonName: this.getPokemon().getNameToRender()
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user