diff --git a/src/data/mystery-encounter.ts b/src/data/mystery-encounter.ts index 92e5ada3c3c..8325a26d29d 100644 --- a/src/data/mystery-encounter.ts +++ b/src/data/mystery-encounter.ts @@ -306,7 +306,7 @@ export default class MysteryEncounter implements MysteryEncounter { } setDialogueToken?(key: string, value: string) { - this.dialogueTokens.set(key, [new RegExp("@ec\{" + value + "\\}", "gi"), value]); + this.dialogueTokens.set(key, [new RegExp("@ec\{" + key + "\\}", "gi"), value]); } private capitalizeFirstLetter?(str: string) { diff --git a/src/locales/en/mystery-encounter.ts b/src/locales/en/mystery-encounter.ts index 849782256e7..b928fa38f54 100644 --- a/src/locales/en/mystery-encounter.ts +++ b/src/locales/en/mystery-encounter.ts @@ -69,7 +69,7 @@ export const mysteryEncounter: SimpleTranslationEntries = { "training_session_option_3_select_prompt": "Select a new ability\nto train your Pokémon in.", "training_session_option_selected_message": "@ec{selectedPokemon} moves across\nthe clearing to face you...", "training_session_battle_finished_1": `@ec{selectedPokemon} returns, feeling\nworn out but accomplished! - $Its @ec{stat1} and @ec{stat2}IVs were improved!`, + $Its @ec{stat1} and @ec{stat2} IVs were improved!`, "training_session_battle_finished_2": `@ec{selectedPokemon} returns, feeling\nworn out but accomplished! $Its nature was changed to @ec{nature}!`, "training_session_battle_finished_3": `@ec{selectedPokemon} returns, feeling\nworn out but accomplished!