mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-27 09:16:03 +00:00
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);
|
||||
|
||||
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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user