diff --git a/src/data/trainer-config.ts b/src/data/trainer-config.ts index 1dcf0efa7b8..df10923963a 100644 --- a/src/data/trainer-config.ts +++ b/src/data/trainer-config.ts @@ -10,7 +10,6 @@ import PokemonSpecies, {PokemonSpeciesFilter, getPokemonSpecies} from "./pokemon import {Species} from "./enums/species"; import {tmSpecies} from "./tms"; import {Type} from "./type"; -import {initTrainerTypeDialogue} from "./dialogue"; import {PersistentModifier} from "../modifier/modifier"; import {TrainerVariant} from "../field/trainer"; import {PartyMemberStrength} from "./enums/party-member-strength"; @@ -1050,7 +1049,3 @@ export const trainerConfigs: TrainerConfigs = { return [ modifierTypes.TERA_SHARD().generateType(null, [ starter.species.type1 ]).withIdFromFunc(modifierTypes.TERA_SHARD).newModifier(starter) as PersistentModifier ]; }), }; - -export function initTrainerTypeDialogue() { - initTrainerTypeDialogue(); -} diff --git a/src/loading-scene.ts b/src/loading-scene.ts index 975175e9d25..df788643c8e 100644 --- a/src/loading-scene.ts +++ b/src/loading-scene.ts @@ -17,6 +17,7 @@ import {initPokemonForms} from "#app/data/pokemon-forms"; import {initSpecies} from "#app/data/pokemon-species"; import {initMoves} from "#app/data/move"; import {initAbilities} from "#app/data/ability"; +import {initTrainerTypeDialogue} from "#app/data/dialogue"; export class LoadingScene extends SceneBase { constructor() { @@ -298,6 +299,7 @@ export class LoadingScene extends SceneBase { initBiomes(); initEggMoves(); initPokemonForms(); + initTrainerTypeDialogue(); initSpecies(); initMoves(); initAbilities();