pokerogue/src/phases
NightKev b76ecf55fd
[Dev] Add isApp & build:app for AdmiralBilly's offline app (#6632)
- Consolidate `isBeta`/etc into `src/constants/app-constants.ts`

- Rename `isLocal` to `isDev`

- Replace `import.meta.env.DEV` with `isBeta || isDev`
2025-10-06 18:51:33 -07:00
..
add-enemy-buff-modifier-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
attempt-capture-phase.ts [Misc] Simplifying imports of UI files (#6542) 2025-09-11 00:30:17 -07:00
attempt-run-phase.ts [Bug] Refactored status code, fixed Rest/Sleep Talk status checks (#5872) 2025-08-20 08:45:09 -05:00
battle-end-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
battle-phase.ts [Misc][Refactor] Add scaffolding for TypedArrays and improve typing on methods related to arrays (#6547) 2025-10-06 12:21:58 -05:00
berry-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
check-interlude-phase.ts [Balance] End of turn triggers won't occur when you end a biome (#6169) 2025-07-29 22:50:57 +00:00
check-status-effect-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
check-switch-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
command-phase.ts [Bug] [Refactor] [Move] Add selection prevention and move failures (#6276) 2025-09-29 12:08:42 -05:00
common-anim-phase.ts [Dev] Migrated to Biome 2.2.3, added more rules (#6259) 2025-09-08 10:35:18 -05:00
damage-anim-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
dynamic-phase-marker.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
egg-hatch-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
egg-lapse-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
egg-summary-phase.ts [Bug] Fix memory leak in egg hatch (#6511) 2025-09-07 17:05:25 -05:00
encounter-phase.ts [Misc][Refactor] Add scaffolding for TypedArrays and improve typing on methods related to arrays (#6547) 2025-10-06 12:21:58 -05:00
end-card-phase.ts [UI/UX] Clean up some magic numbers (#6165) 2025-08-07 18:49:32 -06:00
end-evolution-phase.ts [Misc] Add phase#is method to help reduce circular imports (#5868) 2025-06-06 21:08:23 +00:00
enemy-command-phase.ts [Dev] Migrated to Biome 2.2.3, added more rules (#6259) 2025-09-08 10:35:18 -05:00
enemy-party-member-pokemon-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
evolution-phase.ts [Dev] Improve typescript performance and version bump node and dependencies (#6627) 2025-10-04 19:29:23 -05:00
exp-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
faint-phase.ts [Refactor] Remove isNullOrUndefined in favor of loose check against null (#6549) 2025-09-12 14:53:27 -05:00
field-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
form-change-phase.ts [Misc] Simplifying imports of UI files (#6542) 2025-09-11 00:30:17 -07:00
game-over-modifier-reward-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
game-over-phase.ts [Dev] Add isApp & build:app for AdmiralBilly's offline app (#6632) 2025-10-06 18:51:33 -07:00
hide-ability-phase.ts [Misc] Add phase#is method to help reduce circular imports (#5868) 2025-06-06 21:08:23 +00:00
hide-party-exp-bar-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
learn-move-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
level-cap-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
level-up-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
load-move-anim-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
login-phase.ts [Dev] Add isApp & build:app for AdmiralBilly's offline app (#6632) 2025-10-06 18:51:33 -07:00
message-phase.ts [Refactor] Ensure that new phases are created through the phase manager 2025-06-07 23:55:30 -07:00
modifier-reward-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
money-reward-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
move-anim-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
move-charge-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
move-effect-phase.ts [Misc][Refactor] Add scaffolding for TypedArrays and improve typing on methods related to arrays (#6547) 2025-10-06 12:21:58 -05:00
move-end-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
move-header-phase.ts [Bug] [Refactor] [Move] Add selection prevention and move failures (#6276) 2025-09-29 12:08:42 -05:00
move-phase.ts [Bug] [Refactor] [Move] Add selection prevention and move failures (#6276) 2025-09-29 12:08:42 -05:00
mystery-encounter-phases.ts [Bug][Mystery Encounter][Move] MEs with turn 0 moves no longer block sucker punch (#6606) 2025-09-29 13:36:42 -05:00
new-battle-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
new-biome-encounter-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
next-encounter-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
obtain-status-effect-phase.ts [Refactor] getPokemonById returns undefined instead of null 2025-09-12 22:19:48 -07:00
party-exp-phase.ts [Misc] Add phase#is method to help reduce circular imports (#5868) 2025-06-06 21:08:23 +00:00
party-heal-phase.ts Improve error handling when playing unloaded sounds 2025-09-02 06:53:55 +10:00
party-member-pokemon-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
player-party-member-pokemon-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
pokemon-anim-phase.ts [Refactor] Remove isNullOrUndefined in favor of loose check against null (#6549) 2025-09-12 14:53:27 -05:00
pokemon-heal-phase.ts [Move] Fully implement Healing wish (/Lunar Dance) and remove nextCommandPhaseQueue (#6027) 2025-09-20 17:32:31 -05:00
pokemon-phase.ts [Refactor] getPokemonById returns undefined instead of null 2025-09-12 22:19:48 -07:00
pokemon-transform-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
positional-tag-phase.ts [Move Bug] Fully implemented Future Sight, Doom Desire; fixed Wish Double battle oversight (#5862) 2025-07-30 22:43:06 -06:00
post-game-over-phase.ts [Bug] Fix sessions clearing the wrong slot on save (#6509) 2025-09-07 18:17:12 -07:00
post-summon-activate-ability-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
post-summon-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
post-turn-status-effect-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
quiet-form-change-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
reload-session-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
reset-status-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
return-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
revival-blessing-phase.ts [Refactor] Remove isNullOrUndefined in favor of loose check against null (#6549) 2025-09-12 14:53:27 -05:00
ribbon-modifier-reward-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
scan-ivs-phase.ts [Dev] Migrated to Biome 2.2.3, added more rules (#6259) 2025-09-08 10:35:18 -05:00
select-biome-phase.ts [Dev] Improve typescript performance and version bump node and dependencies (#6627) 2025-10-04 19:29:23 -05:00
select-challenge-phase.ts [Misc] Add phase#is method to help reduce circular imports (#5868) 2025-06-06 21:08:23 +00:00
select-gender-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
select-modifier-phase.ts [Refactor] Remove isNullOrUndefined in favor of loose check against null (#6549) 2025-09-12 14:53:27 -05:00
select-starter-phase.ts [Refactor] Refactor Starter and its handling (#6477) 2025-09-21 11:07:08 -07:00
select-target-phase.ts [Dev] Migrated to Biome 2.2.3, added more rules (#6259) 2025-09-08 10:35:18 -05:00
shiny-sparkle-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
show-ability-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
show-party-exp-bar-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
show-trainer-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
stat-stage-change-phase.ts [Misc][Refactor] Add scaffolding for TypedArrays and improve typing on methods related to arrays (#6547) 2025-10-06 12:21:58 -05:00
summon-missing-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
summon-phase.ts [Bug] Fix CheckSwitchPhase on single -> double and reload (#6594) 2025-09-28 20:34:11 -05:00
switch-biome-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
switch-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
switch-summon-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
tera-phase.ts [i18n] Change i18n keys to be camel case Part 3 (#6266) 2025-08-17 13:13:09 -07:00
title-phase.ts [Dev] Add isApp & build:app for AdmiralBilly's offline app (#6632) 2025-10-06 18:51:33 -07:00
toggle-double-position-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
trainer-victory-phase.ts [Dev] Migrated to Biome 2.2.3, added more rules (#6259) 2025-09-08 10:35:18 -05:00
turn-end-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
turn-init-phase.ts [Dev] Migrated to Biome 2.2.3, added more rules (#6259) 2025-09-08 10:35:18 -05:00
turn-start-phase.ts [Misc/Feature] Add dynamic turn order (#6036) 2025-09-20 17:49:40 -05:00
unavailable-phase.ts [Refactor] Ensure that new phases are created through the phase manager 2025-06-07 23:55:30 -07:00
unlock-phase.ts [Dev] Enable Biome import sorting (#6052) 2025-07-13 00:21:25 -07:00
victory-phase.ts [Beta] [Bug] Fix Various Nuzlocke-related Issues (#6261) 2025-08-15 19:22:59 +02:00
weather-effect-phase.ts [Dev] Migrated to Biome 2.2.3, added more rules (#6259) 2025-09-08 10:35:18 -05:00