Move LearnMoveSituation to its own file

This commit is contained in:
Sirz Benjie 2025-04-10 21:07:23 -05:00
parent 787feceb14
commit 93a4a6da77
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E
3 changed files with 10 additions and 10 deletions

View File

@ -0,0 +1,8 @@
export enum LearnMoveSituation {
MISC,
LEVEL_UP,
RELEARN,
EVOLUTION,
EVOLUTION_FUSED, // If fusionSpecies has Evolved
EVOLUTION_FUSED_BASE, // If fusion's base species has Evolved
}

View File

@ -267,15 +267,7 @@ import { hasExpSprite } from "#app/sprites/sprite-utils";
import { timedEventManager } from "#app/global-event-manager";
import { loadMoveAnimations } from "#app/sprites/pokemon-asset-loader";
import { ResetStatusPhase } from "#app/phases/reset-status-phase";
export enum LearnMoveSituation {
MISC,
LEVEL_UP,
RELEARN,
EVOLUTION,
EVOLUTION_FUSED, // If fusionSpecies has Evolved
EVOLUTION_FUSED_BASE, // If fusion's base species has Evolved
}
import { LearnMoveSituation } from "#enums/learn-move-situation";
export enum FieldPosition {
CENTER,

View File

@ -10,7 +10,7 @@ import { Mode } from "#app/ui/ui";
import { cos, sin } from "#app/field/anims";
import type { PlayerPokemon } from "#app/field/pokemon";
import type Pokemon from "#app/field/pokemon";
import { LearnMoveSituation } from "#app/field/pokemon";
import { LearnMoveSituation } from "#enums/learn-move-situation";
import { getTypeRgb } from "#app/data/type";
import i18next from "i18next";
import { getPokemonNameWithAffix } from "#app/messages";