From 7ae7f3a0dbd832c856122bd7fd9e6710d3c052bc Mon Sep 17 00:00:00 2001 From: NightKev <34855794+DayKev@users.noreply.github.com> Date: Thu, 19 Sep 2024 06:33:19 -0700 Subject: [PATCH] Replace relative imports with absolute imports in `modifier.ts` --- src/modifier/modifier.ts | 52 +++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/src/modifier/modifier.ts b/src/modifier/modifier.ts index 667af37b48b..6caf32ae86e 100644 --- a/src/modifier/modifier.ts +++ b/src/modifier/modifier.ts @@ -1,35 +1,33 @@ -import { Nature } from "#app/data/nature"; -import { BATTLE_STATS, Stat, TEMP_BATTLE_STATS, type PermanentStat, type TempBattleStat } from "#app/enums/stat"; -import Overrides from "#app/overrides"; -import { Command } from "#app/ui/command-ui-handler"; -import { BattlerTagType } from "#enums/battler-tag-type"; -import { BerryType } from "#enums/berry-type"; -import { Species } from "#enums/species"; -import i18next from "i18next"; -import BattleScene from "../battle-scene"; -import { getBerryEffectFunc, getBerryPredicate } from "../data/berry"; -import { getLevelTotalExp } from "../data/exp"; -import { MAX_PER_TYPE_POKEBALLS, PokeballType } from "../data/pokeball"; -import { FusionSpeciesFormEvolution, pokemonEvolutions, pokemonPrevolutions } from "../data/pokemon-evolutions"; -import { FormChangeItem, SpeciesFormChangeItemTrigger, SpeciesFormChangeLapseTeraTrigger, SpeciesFormChangeTeraTrigger } from "../data/pokemon-forms"; -import { getStatusEffectHealText, StatusEffect } from "../data/status-effect"; -import { Type } from "../data/type"; -import EnemyPokemon, { PlayerPokemon } from "../field/pokemon"; -import { getPokemonNameWithAffix } from "../messages"; -import { EvolutionPhase } from "../phases/evolution-phase"; -import { achvs } from "../system/achv"; -import { VoucherType } from "../system/voucher"; -import { addTextObject, TextStyle } from "../ui/text"; -import * as Utils from "../utils"; -import * as ModifierTypes from "./modifier-type"; -import { ModifierType, modifierTypes } from "./modifier-type"; - +import BattleScene from "#app/battle-scene"; +import { getBerryEffectFunc, getBerryPredicate } from "#app/data/berry"; +import { getLevelTotalExp } from "#app/data/exp"; import { allMoves } from "#app/data/move"; +import { Nature } from "#app/data/nature"; +import { MAX_PER_TYPE_POKEBALLS, PokeballType } from "#app/data/pokeball"; +import { FusionSpeciesFormEvolution, pokemonEvolutions, pokemonPrevolutions } from "#app/data/pokemon-evolutions"; +import { FormChangeItem, SpeciesFormChangeItemTrigger, SpeciesFormChangeLapseTeraTrigger, SpeciesFormChangeTeraTrigger } from "#app/data/pokemon-forms"; +import { getStatusEffectHealText, StatusEffect } from "#app/data/status-effect"; +import { Type } from "#app/data/type"; import { Abilities } from "#app/enums/abilities"; +import { default as EnemyPokemon, PlayerPokemon, default as Pokemon } from "#app/field/pokemon"; +import { getPokemonNameWithAffix } from "#app/messages"; +import * as ModifierTypes from "#app/modifier/modifier-type"; +import { ModifierType, modifierTypes } from "#app/modifier/modifier-type"; +import Overrides from "#app/overrides"; +import { EvolutionPhase } from "#app/phases/evolution-phase"; import { LearnMovePhase } from "#app/phases/learn-move-phase"; import { LevelUpPhase } from "#app/phases/level-up-phase"; import { PokemonHealPhase } from "#app/phases/pokemon-heal-phase"; -import Pokemon from "../field/pokemon"; +import { achvs } from "#app/system/achv"; +import { VoucherType } from "#app/system/voucher"; +import { Command } from "#app/ui/command-ui-handler"; +import { addTextObject, TextStyle } from "#app/ui/text"; +import * as Utils from "#app/utils"; +import { BattlerTagType } from "#enums/battler-tag-type"; +import { BerryType } from "#enums/berry-type"; +import { Species } from "#enums/species"; +import { BATTLE_STATS, Stat, TEMP_BATTLE_STATS, type PermanentStat, type TempBattleStat } from "#enums/stat"; +import i18next from "i18next"; export type ModifierPredicate = (modifier: T) => boolean;