move enums to their own file
This commit is contained in:
parent
0ae1553ee7
commit
c01c837919
|
@ -15,92 +15,11 @@ import { SpeciesFormKey } from "#enums/species-form-key";
|
||||||
import { speciesStarterCosts } from "./starters";
|
import { speciesStarterCosts } from "./starters";
|
||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
import { allMoves } from "../moves/move";
|
import { allMoves } from "../moves/move";
|
||||||
|
import { SpeciesWildEvolutionDelay } from "#enums/species-wild-evolution-delay";
|
||||||
|
import { EvolutionItem } from "#enums/evolution-item";
|
||||||
|
import { EvolutionConditionType } from "#enums/evolution-condition-type";
|
||||||
|
|
||||||
|
|
||||||
export enum SpeciesWildEvolutionDelay {
|
|
||||||
NONE,
|
|
||||||
SHORT,
|
|
||||||
MEDIUM,
|
|
||||||
LONG,
|
|
||||||
VERY_LONG,
|
|
||||||
NEVER
|
|
||||||
}
|
|
||||||
|
|
||||||
export enum EvolutionItem {
|
|
||||||
NONE,
|
|
||||||
|
|
||||||
LINKING_CORD,
|
|
||||||
SUN_STONE,
|
|
||||||
MOON_STONE,
|
|
||||||
LEAF_STONE,
|
|
||||||
FIRE_STONE,
|
|
||||||
WATER_STONE,
|
|
||||||
THUNDER_STONE,
|
|
||||||
ICE_STONE,
|
|
||||||
DUSK_STONE,
|
|
||||||
DAWN_STONE,
|
|
||||||
SHINY_STONE,
|
|
||||||
CRACKED_POT,
|
|
||||||
SWEET_APPLE,
|
|
||||||
TART_APPLE,
|
|
||||||
STRAWBERRY_SWEET,
|
|
||||||
UNREMARKABLE_TEACUP,
|
|
||||||
UPGRADE,
|
|
||||||
DUBIOUS_DISC,
|
|
||||||
DRAGON_SCALE,
|
|
||||||
PRISM_SCALE,
|
|
||||||
RAZOR_CLAW,
|
|
||||||
RAZOR_FANG,
|
|
||||||
REAPER_CLOTH,
|
|
||||||
ELECTIRIZER,
|
|
||||||
MAGMARIZER,
|
|
||||||
PROTECTOR,
|
|
||||||
SACHET,
|
|
||||||
WHIPPED_DREAM,
|
|
||||||
SYRUPY_APPLE,
|
|
||||||
CHIPPED_POT,
|
|
||||||
GALARICA_CUFF,
|
|
||||||
GALARICA_WREATH,
|
|
||||||
AUSPICIOUS_ARMOR,
|
|
||||||
MALICIOUS_ARMOR,
|
|
||||||
MASTERPIECE_TEACUP,
|
|
||||||
SUN_FLUTE,
|
|
||||||
MOON_FLUTE,
|
|
||||||
|
|
||||||
BLACK_AUGURITE = 51,
|
|
||||||
PEAT_BLOCK,
|
|
||||||
METAL_ALLOY,
|
|
||||||
SCROLL_OF_DARKNESS,
|
|
||||||
SCROLL_OF_WATERS,
|
|
||||||
LEADERS_CREST
|
|
||||||
}
|
|
||||||
|
|
||||||
export enum EvolutionConditionType {
|
|
||||||
NONE,
|
|
||||||
DAY,
|
|
||||||
NIGHT,
|
|
||||||
FRIENDSHIP,
|
|
||||||
FRIENDSHIP_DAY,
|
|
||||||
FRIENDSHIP_NIGHT,
|
|
||||||
MOVE,
|
|
||||||
MOVE_DAY,
|
|
||||||
MOVE_NIGHT,
|
|
||||||
MOVE_TYPE,
|
|
||||||
FRIENDSHIP_MOVE_TYPE,
|
|
||||||
PARTY_MEMBER_TYPE,
|
|
||||||
CAUGHT_SPECIES,
|
|
||||||
WEATHER,
|
|
||||||
TREASURE,
|
|
||||||
NATURE,
|
|
||||||
MALE,
|
|
||||||
FEMALE,
|
|
||||||
BIOME,
|
|
||||||
TYROGUE,
|
|
||||||
SHEDINJA,
|
|
||||||
DUNSPARCE,
|
|
||||||
TANDEMAUS,
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pokemon Evolution tuple type consisting of:
|
* Pokemon Evolution tuple type consisting of:
|
||||||
* @property 0 {@linkcode Species} The species of the Pokemon.
|
* @property 0 {@linkcode Species} The species of the Pokemon.
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import { globalScene } from "#app/global-scene";
|
import { globalScene } from "#app/global-scene";
|
||||||
import { allAbilities } from "#app/data/ability";
|
import { allAbilities } from "#app/data/ability";
|
||||||
import { EvolutionItem, pokemonEvolutions } from "#app/data/balance/pokemon-evolutions";
|
import { pokemonEvolutions } from "#app/data/balance/pokemon-evolutions";
|
||||||
|
import { EvolutionItem } from "../../enums/evolution-item";
|
||||||
import { Nature } from "#enums/nature";
|
import { Nature } from "#enums/nature";
|
||||||
import { FormChangeItem, pokemonFormChanges, SpeciesFormChangeItemTrigger } from "#app/data/pokemon-forms";
|
import { FormChangeItem, pokemonFormChanges, SpeciesFormChangeItemTrigger } from "#app/data/pokemon-forms";
|
||||||
import { StatusEffect } from "#enums/status-effect";
|
import { StatusEffect } from "#enums/status-effect";
|
||||||
|
|
|
@ -13,11 +13,8 @@ import { uncatchableSpecies } from "#app/data/balance/biomes";
|
||||||
import { speciesEggMoves } from "#app/data/balance/egg-moves";
|
import { speciesEggMoves } from "#app/data/balance/egg-moves";
|
||||||
import { GrowthRate } from "#app/data/exp";
|
import { GrowthRate } from "#app/data/exp";
|
||||||
import type { EvolutionLevel } from "#app/data/balance/pokemon-evolutions";
|
import type { EvolutionLevel } from "#app/data/balance/pokemon-evolutions";
|
||||||
import {
|
import { pokemonEvolutions, pokemonPrevolutions } from "#app/data/balance/pokemon-evolutions";
|
||||||
SpeciesWildEvolutionDelay,
|
import { SpeciesWildEvolutionDelay } from "../enums/species-wild-evolution-delay";
|
||||||
pokemonEvolutions,
|
|
||||||
pokemonPrevolutions,
|
|
||||||
} from "#app/data/balance/pokemon-evolutions";
|
|
||||||
import { PokemonType } from "#enums/pokemon-type";
|
import { PokemonType } from "#enums/pokemon-type";
|
||||||
import type { LevelMoves } from "#app/data/balance/pokemon-level-moves";
|
import type { LevelMoves } from "#app/data/balance/pokemon-level-moves";
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
export enum EvolutionConditionType {
|
||||||
|
NONE,
|
||||||
|
DAY,
|
||||||
|
NIGHT,
|
||||||
|
FRIENDSHIP,
|
||||||
|
FRIENDSHIP_DAY,
|
||||||
|
FRIENDSHIP_NIGHT,
|
||||||
|
MOVE,
|
||||||
|
MOVE_DAY,
|
||||||
|
MOVE_NIGHT,
|
||||||
|
MOVE_TYPE,
|
||||||
|
FRIENDSHIP_MOVE_TYPE,
|
||||||
|
PARTY_MEMBER_TYPE,
|
||||||
|
CAUGHT_SPECIES,
|
||||||
|
WEATHER,
|
||||||
|
TREASURE,
|
||||||
|
NATURE,
|
||||||
|
MALE,
|
||||||
|
FEMALE,
|
||||||
|
BIOME,
|
||||||
|
TYROGUE,
|
||||||
|
SHEDINJA,
|
||||||
|
DUNSPARCE,
|
||||||
|
TANDEMAUS
|
||||||
|
}
|
|
@ -0,0 +1,47 @@
|
||||||
|
export enum EvolutionItem {
|
||||||
|
NONE,
|
||||||
|
LINKING_CORD,
|
||||||
|
SUN_STONE,
|
||||||
|
MOON_STONE,
|
||||||
|
LEAF_STONE,
|
||||||
|
FIRE_STONE,
|
||||||
|
WATER_STONE,
|
||||||
|
THUNDER_STONE,
|
||||||
|
ICE_STONE,
|
||||||
|
DUSK_STONE,
|
||||||
|
DAWN_STONE,
|
||||||
|
SHINY_STONE,
|
||||||
|
CRACKED_POT,
|
||||||
|
SWEET_APPLE,
|
||||||
|
TART_APPLE,
|
||||||
|
STRAWBERRY_SWEET,
|
||||||
|
UNREMARKABLE_TEACUP,
|
||||||
|
UPGRADE,
|
||||||
|
DUBIOUS_DISC,
|
||||||
|
DRAGON_SCALE,
|
||||||
|
PRISM_SCALE,
|
||||||
|
RAZOR_CLAW,
|
||||||
|
RAZOR_FANG,
|
||||||
|
REAPER_CLOTH,
|
||||||
|
ELECTIRIZER,
|
||||||
|
MAGMARIZER,
|
||||||
|
PROTECTOR,
|
||||||
|
SACHET,
|
||||||
|
WHIPPED_DREAM,
|
||||||
|
SYRUPY_APPLE,
|
||||||
|
CHIPPED_POT,
|
||||||
|
GALARICA_CUFF,
|
||||||
|
GALARICA_WREATH,
|
||||||
|
AUSPICIOUS_ARMOR,
|
||||||
|
MALICIOUS_ARMOR,
|
||||||
|
MASTERPIECE_TEACUP,
|
||||||
|
SUN_FLUTE,
|
||||||
|
MOON_FLUTE,
|
||||||
|
|
||||||
|
BLACK_AUGURITE = 51,
|
||||||
|
PEAT_BLOCK,
|
||||||
|
METAL_ALLOY,
|
||||||
|
SCROLL_OF_DARKNESS,
|
||||||
|
SCROLL_OF_WATERS,
|
||||||
|
LEADERS_CREST
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
export enum SpeciesWildEvolutionDelay {
|
||||||
|
NONE,
|
||||||
|
SHORT,
|
||||||
|
MEDIUM,
|
||||||
|
LONG,
|
||||||
|
VERY_LONG,
|
||||||
|
NEVER
|
||||||
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
import { globalScene } from "#app/global-scene";
|
import { globalScene } from "#app/global-scene";
|
||||||
import { EvolutionItem, pokemonEvolutions } from "#app/data/balance/pokemon-evolutions";
|
import { pokemonEvolutions } from "#app/data/balance/pokemon-evolutions";
|
||||||
|
import { EvolutionItem } from "#enums/evolution-item";
|
||||||
import { tmPoolTiers, tmSpecies } from "#app/data/balance/tms";
|
import { tmPoolTiers, tmSpecies } from "#app/data/balance/tms";
|
||||||
import { getBerryEffectDescription, getBerryName } from "#app/data/berry";
|
import { getBerryEffectDescription, getBerryName } from "#app/data/berry";
|
||||||
import { allMoves, AttackMove } from "#app/data/moves/move";
|
import { allMoves, AttackMove } from "#app/data/moves/move";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { type PokeballCounts } from "#app/battle-scene";
|
import { type PokeballCounts } from "#app/battle-scene";
|
||||||
import { EvolutionItem } from "#app/data/balance/pokemon-evolutions";
|
import { EvolutionItem } from "./enums/evolution-item";
|
||||||
import { Gender } from "#app/data/gender";
|
import { Gender } from "#app/data/gender";
|
||||||
import { FormChangeItem } from "#app/data/pokemon-forms";
|
import { FormChangeItem } from "#app/data/pokemon-forms";
|
||||||
import { Variant } from "#app/data/variant";
|
import { Variant } from "#app/data/variant";
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
import {
|
import { pokemonEvolutions, SpeciesFormEvolution } from "#app/data/balance/pokemon-evolutions";
|
||||||
pokemonEvolutions,
|
import { SpeciesWildEvolutionDelay } from "#enums/species-wild-evolution-delay";
|
||||||
SpeciesFormEvolution,
|
|
||||||
SpeciesWildEvolutionDelay,
|
|
||||||
} from "#app/data/balance/pokemon-evolutions";
|
|
||||||
import { Abilities } from "#app/enums/abilities";
|
import { Abilities } from "#app/enums/abilities";
|
||||||
import { Moves } from "#app/enums/moves";
|
import { Moves } from "#app/enums/moves";
|
||||||
import { Species } from "#app/enums/species";
|
import { Species } from "#app/enums/species";
|
||||||
|
|
Loading…
Reference in New Issue