mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 07:22:19 +02:00
Move learnMoveType to own file
This commit is contained in:
parent
2745a1b9d5
commit
5849560e7c
9
src/enums/learn-move-type.ts
Normal file
9
src/enums/learn-move-type.ts
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
export enum LearnMoveType {
|
||||||
|
/** For learning a move via level-up, evolution, or other non-item-based event */
|
||||||
|
LEARN_MOVE,
|
||||||
|
/** For learning a move via Memory Mushroom */
|
||||||
|
MEMORY,
|
||||||
|
/** For learning a move via TM */
|
||||||
|
TM
|
||||||
|
}
|
@ -8,7 +8,7 @@ import { getStatusEffectHealText } from "#app/data/status-effect";
|
|||||||
import Pokemon, { type PlayerPokemon } from "#app/field/pokemon";
|
import Pokemon, { type PlayerPokemon } from "#app/field/pokemon";
|
||||||
import { getPokemonNameWithAffix } from "#app/messages";
|
import { getPokemonNameWithAffix } from "#app/messages";
|
||||||
import Overrides from "#app/overrides";
|
import Overrides from "#app/overrides";
|
||||||
import { LearnMoveType } from "#app/phases/learn-move-phase";
|
import { LearnMoveType } from "#enums/learn-move-type";
|
||||||
import type { VoucherType } from "#app/system/voucher";
|
import type { VoucherType } from "#app/system/voucher";
|
||||||
import { Command } from "#enums/command";
|
import { Command } from "#enums/command";
|
||||||
import { addTextObject, TextStyle } from "#app/ui/text";
|
import { addTextObject, TextStyle } from "#app/ui/text";
|
||||||
|
@ -12,15 +12,7 @@ import { UiMode } from "#enums/ui-mode";
|
|||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
import { PlayerPartyMemberPokemonPhase } from "#app/phases/player-party-member-pokemon-phase";
|
import { PlayerPartyMemberPokemonPhase } from "#app/phases/player-party-member-pokemon-phase";
|
||||||
import type Pokemon from "#app/field/pokemon";
|
import type Pokemon from "#app/field/pokemon";
|
||||||
|
import { LearnMoveType } from "#enums/learn-move-type";
|
||||||
export enum LearnMoveType {
|
|
||||||
/** For learning a move via level-up, evolution, or other non-item-based event */
|
|
||||||
LEARN_MOVE,
|
|
||||||
/** For learning a move via Memory Mushroom */
|
|
||||||
MEMORY,
|
|
||||||
/** For learning a move via TM */
|
|
||||||
TM,
|
|
||||||
}
|
|
||||||
|
|
||||||
export class LearnMovePhase extends PlayerPartyMemberPokemonPhase {
|
export class LearnMovePhase extends PlayerPartyMemberPokemonPhase {
|
||||||
public readonly phaseName = "LearnMovePhase";
|
public readonly phaseName = "LearnMovePhase";
|
||||||
|
Loading…
Reference in New Issue
Block a user