From 58dbefa60396564e831e3ec80ef8aec122f3432c Mon Sep 17 00:00:00 2001 From: Reldnahc Date: Sat, 4 May 2024 18:36:11 -0500 Subject: [PATCH] fix imports --- src/phases.ts | 74 +++++++++++++++++++++++++-------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/src/phases.ts b/src/phases.ts index a28c4d719..48e9f2cde 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -1,5 +1,5 @@ -import BattleScene, {bypassLogin, startingWave} from "./battle-scene"; -import {DamageResult, default as Pokemon, EnemyPokemon, FieldPosition, HitResult, MoveResult, PlayerPokemon, PokemonMove, TurnMove} from "./field/pokemon"; +import BattleScene, { bypassLogin, startingWave } from "./battle-scene"; +import { default as Pokemon, PlayerPokemon, EnemyPokemon, PokemonMove, MoveResult, DamageResult, FieldPosition, HitResult, TurnMove } from "./field/pokemon"; import * as Utils from './utils'; import { Moves } from "./data/enums/moves"; import { allMoves, applyMoveAttrs, BypassSleepAttr, ChargeAttr, applyFilteredMoveAttrs, HitsTagAttr, MissEffectAttr, MoveAttr, MoveEffectAttr, MoveFlags, MultiHitAttr, OverrideMoveEffectAttr, VariableAccuracyAttr, MoveTarget, OneHitKOAttr, getMoveTargets, MoveTargetSet, MoveEffectTrigger, CopyMoveAttr, AttackMove, SelfStatusMove, DelayedAttackAttr, RechargeAttr, PreMoveMessageAttr, HealStatusEffectAttr, IgnoreOpponentStatChangesAttr, NoEffectAttr, FixedDamageAttr, OneHitKOAccuracyAttr, ForceSwitchOutAttr, VariableTargetAttr } from "./data/move"; @@ -21,41 +21,41 @@ import { Biome } from "./data/enums/biome"; import { ModifierTier } from "./modifier/modifier-tier"; import { FusePokemonModifierType, ModifierPoolType, ModifierType, ModifierTypeFunc, ModifierTypeOption, PokemonModifierType, PokemonMoveModifierType, PokemonPpRestoreModifierType, PokemonPpUpModifierType, RememberMoveModifierType, TmModifierType, getDailyRunStarterModifiers, getEnemyBuffModifierForWave, getModifierType, getPlayerModifierTypeOptions, getPlayerShopModifierTypeOptionsForWave, modifierTypes, regenerateModifierPoolThresholds } from "./modifier/modifier-type"; import SoundFade from "phaser3-rex-plugins/plugins/soundfade"; -import {BattlerTag, BattlerTagLapseType, BounceTag, EncoreTag, HideSpriteTag as HiddenTag, ProtectedTag, TrappedTag} from "./data/battler-tags"; -import {BattlerTagType} from "./data/enums/battler-tag-type"; -import {getPokemonMessage} from "./messages"; -import {Starter} from "./ui/starter-select-ui-handler"; -import {Gender} from "./data/gender"; -import {getRandomWeatherType, getTerrainBlockMessage, getWeatherDamageMessage, getWeatherLapseMessage, Weather, WeatherType} from "./data/weather"; -import {TempBattleStat} from "./data/temp-battle-stat"; -import {ArenaTagSide, ArenaTrapTag, MistTag, TrickRoomTag} from "./data/arena-tag"; -import {ArenaTagType} from "./data/enums/arena-tag-type"; -import {AlwaysHitAbAttr, applyAbAttrs, applyBattleStatMultiplierAbAttrs, applyCheckTrappedAbAttrs, applyPostAttackAbAttrs, applyPostBattleAbAttrs, applyPostBattleInitAbAttrs, applyPostDefendAbAttrs, applyPostFaintAbAttrs, applyPostKnockOutAbAttrs, applyPostStatChangeAbAttrs, applyPostSummonAbAttrs, applyPostTurnAbAttrs, applyPostVictoryAbAttrs, applyPostWeatherLapseAbAttrs, applyPreStatChangeAbAttrs, applyPreSwitchOutAbAttrs, applyPreWeatherEffectAbAttrs, BattleStatMultiplierAbAttr, BlockNonDirectDamageAbAttr as BlockNonDirectDamageAbAttr, MagicBounceAbAttr, CheckTrappedAbAttr, IgnoreOpponentStatChangesAbAttr, IncreasePpAbAttr, IncrementMovePriorityAbAttr, PostAttackAbAttr, PostBattleAbAttr, PostBattleInitAbAttr, PostBiomeChangeAbAttr, PostDefendAbAttr, PostFaintAbAttr, PostKnockOutAbAttr, PostStatChangeAbAttr, PostSummonAbAttr, PostTurnAbAttr, PostVictoryAbAttr, PostWeatherLapseAbAttr, PreSwitchOutAbAttr, PreventBerryUseAbAttr, PreWeatherDamageAbAttr, ProtectStatAbAttr, RedirectMoveAbAttr, RunSuccessAbAttr, StatChangeMultiplierAbAttr, SuppressWeatherEffectAbAttr, SyncEncounterNatureAbAttr} from "./data/ability"; -import {getUnlockableName, Unlockables} from "./system/unlockables"; -import {getBiomeKey} from "./field/arena"; -import {BattlerIndex, BattleType, TurnCommand} from "./battle"; -import {BattleSpec} from "./enums/battle-spec"; -import {Species} from "./data/enums/species"; -import {achvs, HealAchv, LevelAchv} from "./system/achv"; -import {trainerConfigs, TrainerSlot} from "./data/trainer-config"; -import {TrainerType} from "./data/enums/trainer-type"; -import {EggHatchPhase} from "./egg-hatch-phase"; -import {Egg} from "./data/egg"; -import {vouchers} from "./system/voucher"; -import {loggedInUser, updateUserInfo} from "./account"; -import {PlayerGender, SessionSaveData} from "./system/game-data"; -import {addPokeballCaptureStars, addPokeballOpenParticles} from "./field/anims"; -import {SpeciesFormChangeActiveTrigger, SpeciesFormChangeManualTrigger, SpeciesFormChangeMoveLearnedTrigger, SpeciesFormChangePostMoveTrigger, SpeciesFormChangePreMoveTrigger} from "./data/pokemon-forms"; -import {battleSpecDialogue, getCharVariantFromDialogue} from "./data/dialogue"; -import ModifierSelectUiHandler, {SHOP_OPTIONS_ROW_LIMIT} from "./ui/modifier-select-ui-handler"; -import {Setting} from "./system/settings"; -import {handleTutorial, Tutorial} from "./tutorial"; -import {TerrainType} from "./data/terrain"; -import {OptionSelectConfig, OptionSelectItem} from "./ui/abstact-option-select-ui-handler"; -import {SaveSlotUiMode} from "./ui/save-slot-select-ui-handler"; -import {fetchDailyRunSeed, getDailyRunStarters} from "./data/daily-run"; -import {GameModes, gameModes} from "./game-mode"; -import {getPokemonSpecies, speciesStarters} from "./data/pokemon-species"; +import { BattlerTag, BattlerTagLapseType, BounceTag, EncoreTag, HideSpriteTag as HiddenTag, ProtectedTag, TrappedTag } from "./data/battler-tags"; +import { BattlerTagType } from "./data/enums/battler-tag-type"; +import { getPokemonMessage } from "./messages"; +import { Starter } from "./ui/starter-select-ui-handler"; +import { Gender } from "./data/gender"; +import { Weather, WeatherType, getRandomWeatherType, getTerrainBlockMessage, getWeatherDamageMessage, getWeatherLapseMessage } from "./data/weather"; +import { TempBattleStat } from "./data/temp-battle-stat"; +import { ArenaTagSide, ArenaTrapTag, MistTag, TrickRoomTag } from "./data/arena-tag"; +import { ArenaTagType } from "./data/enums/arena-tag-type"; +import { CheckTrappedAbAttr, IgnoreOpponentStatChangesAbAttr, PostAttackAbAttr, PostBattleAbAttr, PostDefendAbAttr, PostSummonAbAttr, PostTurnAbAttr, PostWeatherLapseAbAttr, PreSwitchOutAbAttr, PreWeatherDamageAbAttr, ProtectStatAbAttr, RedirectMoveAbAttr, RunSuccessAbAttr, StatChangeMultiplierAbAttr, SuppressWeatherEffectAbAttr, SyncEncounterNatureAbAttr, applyAbAttrs, applyCheckTrappedAbAttrs, applyPostAttackAbAttrs, applyPostBattleAbAttrs, applyPostDefendAbAttrs, applyPostSummonAbAttrs, applyPostTurnAbAttrs, applyPostWeatherLapseAbAttrs, applyPreStatChangeAbAttrs, applyPreSwitchOutAbAttrs, applyPreWeatherEffectAbAttrs, BattleStatMultiplierAbAttr, applyBattleStatMultiplierAbAttrs, IncrementMovePriorityAbAttr, applyPostVictoryAbAttrs, PostVictoryAbAttr, applyPostBattleInitAbAttrs, PostBattleInitAbAttr, BlockNonDirectDamageAbAttr as BlockNonDirectDamageAbAttr, applyPostKnockOutAbAttrs, PostKnockOutAbAttr, PostBiomeChangeAbAttr, applyPostFaintAbAttrs, PostFaintAbAttr, IncreasePpAbAttr, PostStatChangeAbAttr, applyPostStatChangeAbAttrs, AlwaysHitAbAttr, PreventBerryUseAbAttr, MagicBounceAbAttr } from "./data/ability"; +import { Unlockables, getUnlockableName } from "./system/unlockables"; +import { getBiomeKey } from "./field/arena"; +import { BattleType, BattlerIndex, TurnCommand } from "./battle"; +import { BattleSpec } from "./enums/battle-spec"; +import { Species } from "./data/enums/species"; +import { HealAchv, LevelAchv, achvs } from "./system/achv"; +import { TrainerSlot, trainerConfigs } from "./data/trainer-config"; +import { TrainerType } from "./data/enums/trainer-type"; +import { EggHatchPhase } from "./egg-hatch-phase"; +import { Egg } from "./data/egg"; +import { vouchers } from "./system/voucher"; +import { loggedInUser, updateUserInfo } from "./account"; +import { PlayerGender, SessionSaveData } from "./system/game-data"; +import { addPokeballCaptureStars, addPokeballOpenParticles } from "./field/anims"; +import { SpeciesFormChangeActiveTrigger, SpeciesFormChangeManualTrigger, SpeciesFormChangeMoveLearnedTrigger, SpeciesFormChangePostMoveTrigger, SpeciesFormChangePreMoveTrigger } from "./data/pokemon-forms"; +import { battleSpecDialogue, getCharVariantFromDialogue } from "./data/dialogue"; +import ModifierSelectUiHandler, { SHOP_OPTIONS_ROW_LIMIT } from "./ui/modifier-select-ui-handler"; +import { Setting } from "./system/settings"; +import { Tutorial, handleTutorial } from "./tutorial"; +import { TerrainType } from "./data/terrain"; +import { OptionSelectConfig, OptionSelectItem } from "./ui/abstact-option-select-ui-handler"; +import { SaveSlotUiMode } from "./ui/save-slot-select-ui-handler"; +import { fetchDailyRunSeed, getDailyRunStarters } from "./data/daily-run"; +import { GameModes, gameModes } from "./game-mode"; +import { getPokemonSpecies, speciesStarters } from "./data/pokemon-species"; import i18next from './plugins/i18n'; import { Abilities } from "./data/enums/abilities"; import { STARTER_FORM_OVERRIDE, STARTER_SPECIES_OVERRIDE } from './overrides';