pokerogue/src/data/moves
Sirz Benjie 1fc42b3231
[Misc] Add phase#is method to help reduce circular imports (#5868)
* Move phase types out of phase interceptor

* Create isXPhase method and add properties to each phase

* Replace instanceof phase with isXPhase

* Fix missing union types for phaseName

* Update doc comment in phase.ts

* Fix incomplete comment in encounter-phase

* Make phaseName as public and fix more uses

* Move phaseName property declaration before constructor in move anim phase

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Rename isXPhase to is

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-06-06 21:08:23 +00:00
..
invalid-moves.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
move-utils.ts [Refactor][Move] Refactor move effect phase (#5678) 2025-04-23 00:10:27 +00:00
move.ts [Misc] Add phase#is method to help reduce circular imports (#5868) 2025-06-06 21:08:23 +00:00