From 2b855e58e37420c303e2ca60f2ba1fb0bd4ad43d Mon Sep 17 00:00:00 2001 From: ImperialSympathizer Date: Fri, 12 Jul 2024 15:44:34 -0400 Subject: [PATCH] move dialogue token injection to i18next --- .../encounters/training-session-encounter.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/data/mystery-encounters/encounters/training-session-encounter.ts b/src/data/mystery-encounters/encounters/training-session-encounter.ts index 062e8599823..6abb340469a 100644 --- a/src/data/mystery-encounters/encounters/training-session-encounter.ts +++ b/src/data/mystery-encounters/encounters/training-session-encounter.ts @@ -333,11 +333,7 @@ export const TrainingSessionEncounter: IMysteryEncounter = scene.removePokemonFromPlayerParty(playerPokemon, false); const onBeforeRewardsPhase = () => { - scene.queueMessage( - getEncounterText(scene, [`${namespace}_battle_finished_3`]), - null, - true - ); + scene.queueMessage(getEncounterText(scene, `${namespace}_battle_finished_3`), null, true); // Add the pokemon back to party with ability change const abilityIndex = encounter.misc.abilityIndex; if (!!playerPokemon.getFusionSpeciesForm()) {