move dialogue token injection to i18next
This commit is contained in:
parent
60c26456f6
commit
2b855e58e3
|
@ -333,11 +333,7 @@ export const TrainingSessionEncounter: IMysteryEncounter =
|
||||||
scene.removePokemonFromPlayerParty(playerPokemon, false);
|
scene.removePokemonFromPlayerParty(playerPokemon, false);
|
||||||
|
|
||||||
const onBeforeRewardsPhase = () => {
|
const onBeforeRewardsPhase = () => {
|
||||||
scene.queueMessage(
|
scene.queueMessage(getEncounterText(scene, `${namespace}_battle_finished_3`), null, true);
|
||||||
getEncounterText(scene, [`${namespace}_battle_finished_3`]),
|
|
||||||
null,
|
|
||||||
true
|
|
||||||
);
|
|
||||||
// Add the pokemon back to party with ability change
|
// Add the pokemon back to party with ability change
|
||||||
const abilityIndex = encounter.misc.abilityIndex;
|
const abilityIndex = encounter.misc.abilityIndex;
|
||||||
if (!!playerPokemon.getFusionSpeciesForm()) {
|
if (!!playerPokemon.getFusionSpeciesForm()) {
|
||||||
|
|
Loading…
Reference in New Issue