mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-17 09:47:43 +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);
|
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…
x
Reference in New Issue
Block a user