move dialogue token injection to i18next

This commit is contained in:
ImperialSympathizer 2024-07-12 15:44:34 -04:00
parent 60c26456f6
commit 2b855e58e3

View File

@ -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()) {