[Misc] Eternatus Dialogue reflects # of Classic Sessions Played (#3387)
* Eternatus Dialogue now includes # of Classic sessions played * Updated gendered messages * Update src/locales/fr/dialogue.ts Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> * Update src/locales/fr/dialogue.ts Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> * Update src/phases.ts Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> * Added comments * Update src/phases.ts Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> * Update src/phases.ts Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> * strict-null changes * Update phases.ts for null-ish results * Fixed repeated 'for' in English boss dialogue * Correcting Boss Dialogue --------- Co-authored-by: Frutescens <info@laptop> Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
723040208d
commit
a272d28cdf
|
@ -2792,7 +2792,7 @@ export const PGFdialogue: DialogueTranslationEntries = PGMdialogue;
|
|||
export const PGMbattleSpecDialogue: SimpleTranslationEntries = {
|
||||
"encounter": `Es scheint, als wäre es wieder mal an der Zeit.\nDu weißt, warum du hierher kommen musst, oder?
|
||||
$Dich hat es hierher gezogen, du warst bereits hier.\nUnzählige Male.
|
||||
$Obwohl, vielleicht doch nicht unzählig.\nUm genau zu sein, dies ist der 5.643.853te Zyklus.
|
||||
$Obwohl, vielleicht doch nicht unzählig.\nUm genau zu sein, dies ist der {{cycleCount}}te Zyklus.
|
||||
$Du verlierst jeden Zyklus dein Gedächtnis. Trotzdem \nbleibt etwas, ein Teil deines ehemaligen Ichs, erhalten.
|
||||
$Bis jetzt hast du es noch nicht vollbracht zu siegen, aber dieses Mal spüre ich eine andere Präsenz in dir.\n
|
||||
$Du bist der Einzige hier, aber es kommt mir so vor als wäre da...jemand anderes.
|
||||
|
|
|
@ -2715,11 +2715,11 @@ export const PGFdialogue: DialogueTranslationEntries = PGMdialogue;
|
|||
export const PGMbattleSpecDialogue: SimpleTranslationEntries = {
|
||||
"encounter": `It appears the time has finally come once again.\nYou know why you have come here, do you not?
|
||||
$You were drawn here, because you have been here before.\nCountless times.
|
||||
$Though, perhaps it can be counted.\nTo be precise, this is in fact your 5,643,853rd cycle.
|
||||
$Though, perhaps it can be counted.\nTo be precise, this is in fact your {{cycleCount}} cycle.
|
||||
$Each cycle your mind reverts to its former state.\nEven so, somehow, remnants of your former selves remain.
|
||||
$Until now you have yet to succeed, but I sense a different presence in you this time.\n
|
||||
$You are the only one here, though it is as if there is… another.
|
||||
$Will you finally prove a formidable challenge to me?\nThe challenge I have longed for for millennia?
|
||||
$Will you finally prove a formidable challenge to me?\nThe challenge I have longed after for millennia?
|
||||
$We begin.`,
|
||||
"firstStageWin": `I see. The presence I felt was indeed real.\nIt appears I no longer need to hold back.
|
||||
$Do not disappoint me.`,
|
||||
|
|
|
@ -2710,11 +2710,11 @@ export const PGFdialogue: DialogueTranslationEntries = PGMdialogue;
|
|||
export const PGMbattleSpecDialogue: SimpleTranslationEntries = {
|
||||
"encounter": `It appears the time has finally come once again.\nYou know why you have come here, do you not?
|
||||
$You were drawn here, because you have been here before.\nCountless times.
|
||||
$Though, perhaps it can be counted.\nTo be precise, this is in fact your 5,643,853rd cycle.
|
||||
$Though, perhaps it can be counted.\nTo be precise, this is in fact your {{cycleCount}} cycle.
|
||||
$Each cycle your mind reverts to its former state.\nEven so, somehow, remnants of your former selves remain.
|
||||
$Until now you have yet to succeed, but I sense a different presence in you this time.\n
|
||||
$You are the only one here, though it is as if there is… another.
|
||||
$Will you finally prove a formidable challenge to me?\nThe challenge I have longed for for millennia?
|
||||
$Will you finally prove a formidable challenge to me?\nThe challenge I have longed after for millennia?
|
||||
$We begin.`,
|
||||
"firstStageWin": `I see. The presence I felt was indeed real.\nIt appears I no longer need to hold back.
|
||||
$Do not disappoint me.`,
|
||||
|
|
|
@ -5188,8 +5188,8 @@ export const PGFdialogue: DialogueTranslationEntries = {
|
|||
// Dialogue of the endboss of the game when the player character is male (Or unset)
|
||||
export const PGMbattleSpecDialogue: SimpleTranslationEntries = {
|
||||
"encounter": `Une fois de plus, te revoilà.\nSais-tu que ce n’est point là ta première venue ?
|
||||
$Tu a été appelé ici parce que t’y est déjà venu.\nUn nombre inimaginable de fois.
|
||||
$Mais allons-y, faisons le décompte.\nTu en es très précisément à ton 5 643 853e cycle.
|
||||
$Tu as été appelé ici parce que t’y es déjà venu.\nUn nombre inimaginable de fois.
|
||||
$Mais allons-y, faisons le décompte.\nTu en es très précisément à ton {{cycleCount}}e cycle.
|
||||
$Chaque cycle réinitialise ton souvenir du précédent.\nMais étrangement, des bribes subsistent en toi.
|
||||
$Jusqu’à maintenant, tu as toujours échoué. Mais je ressens quelque chose de différent cette fois-ci.\n
|
||||
$Tu es la seule présence ici, bien que j’ai le sentiment d’en ressentir… une autre.
|
||||
|
@ -5203,8 +5203,8 @@ export const PGMbattleSpecDialogue: SimpleTranslationEntries = {
|
|||
// Dialogue of the endboss of the game when the player character is female. For languages that do not have gendered pronouns, this can be set to PGMbattleSpecDialogue.
|
||||
export const PGFbattleSpecDialogue: SimpleTranslationEntries = {
|
||||
"encounter": `Une fois de plus, te revoilà.\nSais-tu que ce n’est point là ta première venue ?
|
||||
$Tu a été appelée ici parce que t’y est déjà venue.\nUn nombre inimaginable de fois.
|
||||
$Mais allons-y, faisons le décompte.\nTu en es très précisément à ton 5 643 853e cycle.
|
||||
$Tu as été appelée ici parce que t’y es déjà venue.\nUn nombre inimaginable de fois.
|
||||
$Mais allons-y, faisons le décompte.\nTu en es très précisément à ton {{cycleCount}}e cycle.
|
||||
$Chaque cycle réinitialise ton souvenir du précédent.\nMais étrangement, des bribes subsistent en toi.
|
||||
$Jusqu’à maintenant, tu as toujours échoué. Mais je ressens quelque chose de différent cette fois-ci.\n
|
||||
$Tu es la seule présence ici, bien que j’ai le sentiment d’en ressentir… une autre.
|
||||
|
|
|
@ -2710,11 +2710,11 @@ export const PGFdialogue: DialogueTranslationEntries = PGMdialogue;
|
|||
export const PGMbattleSpecDialogue: SimpleTranslationEntries = {
|
||||
"encounter": `It appears the time has finally come once again.\nYou know why you have come here, do you not?
|
||||
$You were drawn here, because you have been here before.\nCountless times.
|
||||
$Though, perhaps it can be counted.\nTo be precise, this is in fact your 5,643,853rd cycle.
|
||||
$Though, perhaps it can be counted.\nTo be precise, this is in fact your {{cycleCount}} cycle.
|
||||
$Each cycle your mind reverts to its former state.\nEven so, somehow, remnants of your former selves remain.
|
||||
$Until now you have yet to succeed, but I sense a different presence in you this time.\n
|
||||
$You are the only one here, though it is as if there is… another.
|
||||
$Will you finally prove a formidable challenge to me?\nThe challenge I have longed for for millennia?
|
||||
$Will you finally prove a formidable challenge to me?\nThe challenge I have longed after for millennia?
|
||||
$We begin.`,
|
||||
"firstStageWin": `I see. The presence I felt was indeed real.\nIt appears I no longer need to hold back.
|
||||
$Do not disappoint me.`,
|
||||
|
|
|
@ -2707,7 +2707,7 @@ export const PGFdialogue: DialogueTranslationEntries = PGMdialogue;
|
|||
export const PGMbattleSpecDialogue: SimpleTranslationEntries = {
|
||||
"encounter": `드디어 때가 다시 도래했다.\n당도한 연유를 아는가?
|
||||
$이미 도달한 적이 있기에 이 자리에 있다.\n셀 수도 없이 많이.
|
||||
$아니, 사실 셀 수는 있지.\n정확히 너의 5,643,853번째다.
|
||||
$아니, 사실 셀 수는 있지.\n정확히 너의 {{cycleCount}}번째다.
|
||||
$매 번 태초의 정신으로 되돌아갔을 뿐.\n하지만 어떻게든, 흔적은 남는다.
|
||||
$실패만을 반복했을 뿐이지만,\n지금은 네 안에 무언가가 있구나.\n
|
||||
$홀로 선 것처럼 보이나, 무언가 이질적인…
|
||||
|
|
|
@ -5002,7 +5002,7 @@ export const PGFdialogue: DialogueTranslationEntries = {
|
|||
export const PGMbattleSpecDialogue: SimpleTranslationEntries = {
|
||||
"encounter": `Parece que a hora finalmente chegou novamente.\nVocê sabe por que veio aqui, não sabe?
|
||||
$Você foi atraído para cá, porque já esteve aqui antes.\nInúmeras vezes.
|
||||
$Embora talvez isso possa ser contado.\nPara ser preciso, este é de fato o seu 5.643.853º ciclo.
|
||||
$Embora talvez isso possa ser contado.\nPara ser preciso, este é de fato o seu {{cycleCount}}º ciclo.
|
||||
$A cada ciclo, sua mente retorna ao seu estado anterior.\nMesmo assim, de alguma forma, vestígios de seus antigos "eus" permanecem.
|
||||
$Até agora, você ainda não conseguiu, mas sinto uma presença diferente em você desta vez.\n
|
||||
$Você é o único aqui, embora pareça haver... outro.
|
||||
|
@ -5017,7 +5017,7 @@ export const PGMbattleSpecDialogue: SimpleTranslationEntries = {
|
|||
export const PGFbattleSpecDialogue: SimpleTranslationEntries = {
|
||||
"encounter": `Parece que a hora finalmente chegou novamente.\nVocê sabe por que veio aqui, não sabe?
|
||||
$Você foi atraída para cá, porque já esteve aqui antes.\nInúmeras vezes.
|
||||
$Embora talvez isso possa ser contado.\nPara ser preciso, este é de fato o seu 5.643.853º ciclo.
|
||||
$Embora talvez isso possa ser contado.\nPara ser preciso, este é de fato o seu {{cycleCount}}º ciclo.
|
||||
$A cada ciclo, sua mente retorna ao seu estado anterior.\nMesmo assim, de alguma forma, vestígios de seus antigos "eus" permanecem.
|
||||
$Até agora, você ainda não conseguiu, mas sinto uma presença diferente em você desta vez.\n
|
||||
$Você é a única aqui, embora pareça haver... outro.
|
||||
|
|
|
@ -2530,7 +2530,7 @@ export const PGFdialogue: DialogueTranslationEntries = PGMdialogue;
|
|||
export const PGMbattleSpecDialogue: SimpleTranslationEntries = {
|
||||
"encounter": `看来终于又到了那个时候。\n你知道自己为何会来到这里,不是吗?
|
||||
$你被吸引到这里,因为你以前就来过这里。\n无数次。
|
||||
$尽管,或许可以数一数。\n准确地说,这实际上是你的第5,643,853次循环。
|
||||
$尽管,或许可以数一数。\n准确地说,这实际上是你的第{{cycleCount}}次循环。
|
||||
$每一次循环,你的思想都会恢复到之前的状态。\n即便如此,不知何故,你之前自我的残留仍然存在。
|
||||
$直到现在,你仍未成功,\n但我感觉这次你身上有一种异样的气息。
|
||||
$你是这里唯一的人,尽管感觉上还有……另一个人。
|
||||
|
|
|
@ -2529,7 +2529,7 @@ export const PGFdialogue: DialogueTranslationEntries = PGMdialogue;
|
|||
export const PGMbattleSpecDialogue: SimpleTranslationEntries = {
|
||||
"encounter": `看來終於又到了那個時候。\n你知道自己為何會來到這裡,不是嗎?
|
||||
$你被吸引到這裡,因為你以前就來過這裡。\n無數次。
|
||||
$儘管,或許可以數一數。\n準確地說,這實際上是你的第5,643,853次循環。
|
||||
$儘管,或許可以數一數。\n準確地說,這實際上是你的第{{cycleCount}}次循環。
|
||||
$每一次循環,你的思想都會恢復到之前的狀態。\n即便如此,不知何故,你之前自我的殘留仍然存在。
|
||||
$直到現在,你仍未成功,但我感覺這次你身上有一種異樣的氣息。
|
||||
$你是這裡唯一的人,儘管感覺上還有……另一個人。
|
||||
|
|
|
@ -1131,7 +1131,16 @@ export class EncounterPhase extends BattlePhase {
|
|||
case BattleSpec.FINAL_BOSS:
|
||||
const enemy = this.scene.getEnemyPokemon();
|
||||
this.scene.ui.showText(this.getEncounterMessage(), null, () => {
|
||||
this.scene.ui.showDialogue(battleSpecDialogue[BattleSpec.FINAL_BOSS].encounter, enemy?.species.name, null, () => {
|
||||
const count = 5643853 + this.scene.gameData.gameStats.classicSessionsPlayed;
|
||||
//The two lines below check if English ordinals (1st, 2nd, 3rd, Xth) are used and determine which one to use.
|
||||
//Otherwise, it defaults to an empty string.
|
||||
//As of 08-07-24: Spanish and Italian default to the English translations
|
||||
const ordinalUse = ["en", "es", "it"];
|
||||
const currentLanguage = i18next.resolvedLanguage ?? "en";
|
||||
const ordinalIndex = (ordinalUse.includes(currentLanguage)) ? ["st", "nd", "rd"][((count + 90) % 100 - 10) % 10 - 1] ?? "th" : "";
|
||||
const cycleCount = count.toLocaleString() + ordinalIndex;
|
||||
const encounterDialogue = i18next.t(`${(this.scene.gameData.gender === PlayerGender.FEMALE) ? "PGF" : "PGM"}battleSpecDialogue:encounter`, {cycleCount: cycleCount});
|
||||
this.scene.ui.showDialogue(encounterDialogue, enemy?.species.name, null, () => {
|
||||
this.doEncounterCommon(false);
|
||||
});
|
||||
}, 1500, true);
|
||||
|
|
Loading…
Reference in New Issue