pokerogue/src/phases
ImperialSympathizer 5997744aa2
[Beta][Bug] Major/minor ME bug fixes (#4451)
* major/minor ME bug fixes

* potential fix for failed save with rental pokemon

* Update src/system/game-data.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Update src/system/game-data.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* more bug fix cleanup and PR feedback

* fix Uncommon Breed ME crash

* real fix to Fun and Games force switch issues

* add isBattleMysteryEncounter() helper function

* add isBattleMysteryEncounter() helper function

* fix unintentional replace all errors

* fix catches not updating dex

---------

Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-09-26 18:43:28 -04:00
..
add-enemy-buff-modifier-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
attempt-capture-phase.ts [Move] Implement Substitute (#2559) 2024-09-13 12:46:22 -04:00
attempt-run-phase.ts Fixed small RNG misusage (#4092) 2024-09-08 02:33:33 +01:00
battle-end-phase.ts [Bugs/Balance] Fix various ME bugs and small balance adjustments (#4369) 2024-09-22 05:47:32 +02:00
battle-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
berry-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
check-switch-phase.ts [Move] Implement Shed Tail (#4382) 2024-09-25 17:17:46 -07:00
command-phase.ts [Beta][Bug] Major/minor ME bug fixes (#4451) 2024-09-26 18:43:28 -04:00
common-anim-phase.ts [Feature] Add Mystery Encounters to the game (#3938) 2024-09-14 03:05:58 +01:00
damage-phase.ts [Move] Implement Substitute (#2559) 2024-09-13 12:46:22 -04:00
egg-hatch-phase.ts [Hotfix] Fix cases where hatched Pokemon don't get an egg move (#4102) 2024-09-08 02:45:30 -04:00
egg-lapse-phase.ts [Bug] Fix candy count when not skipping to summary (#4342) 2024-09-20 10:16:07 -04:00
egg-summary-phase.ts [Hotfix] fix UI transition causing unusual freezes after egg summary shown (#4126) 2024-09-10 14:23:13 +01:00
encounter-phase.ts [Beta][Bug] Major/minor ME bug fixes (#4451) 2024-09-26 18:43:28 -04:00
end-card-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
end-evolution-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
enemy-command-phase.ts [Feature] Add Mystery Encounters to the game (#3938) 2024-09-14 03:05:58 +01:00
enemy-party-member-pokemon-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
evolution-phase.ts [Refactor][QoL] Game Audio + New Settings (#3527) 2024-08-25 17:40:14 +01:00
exp-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
faint-phase.ts [Move] Implement Shed Tail (#4382) 2024-09-25 17:17:46 -07:00
field-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
form-change-phase.ts [Move] Implement autotomization weight effects (#4228) 2024-09-23 11:42:17 -04:00
game-over-modifier-reward-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
game-over-phase.ts [Bugs/Balance] Fix various ME bugs and small balance adjustments (#4369) 2024-09-22 05:47:32 +02:00
hide-party-exp-bar-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
learn-move-phase.ts Merge branch 'main' into beta 2024-09-11 07:29:18 -07:00
level-cap-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
level-up-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
login-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
message-phase.ts Mystery Encounter bug fixes and minor adjustments (#4299) 2024-09-19 14:44:10 +01:00
modifier-reward-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
money-reward-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
move-anim-test-phase.ts [Move] Implement Substitute (#2559) 2024-09-13 12:46:22 -04:00
move-effect-phase.ts [Bug] Flash Fire/etc now trigger even if the attack would miss (#4337) 2024-09-23 15:37:21 -04:00
move-end-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
move-header-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
move-phase.ts [Balance] Ability-ignoring effects no longer ignore the source's own Abilities (#3556) 2024-09-22 19:54:19 -07:00
mystery-encounter-phases.ts [Move] Implement Shed Tail (#4382) 2024-09-25 17:17:46 -07:00
new-battle-phase.ts Deleted phases.ts (#3618) 2024-08-19 03:23:52 +01:00
new-biome-encounter-phase.ts [Bug] Fix reloads erasing weather on first wave of biome (#4078) 2024-09-16 15:30:42 -04:00
next-encounter-phase.ts [Bug] Fix reloads erasing weather on first wave of biome (#4078) 2024-09-16 15:30:42 -04:00
obtain-status-effect-phase.ts [Ability] (Partially) Implement synchronize ability with old psycho shift interaction (#2746) 2024-09-22 19:38:09 -07:00
outdated-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
party-exp-phase.ts [Feature] Add Mystery Encounters to the game (#3938) 2024-09-14 03:05:58 +01:00
party-heal-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
party-member-pokemon-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
party-status-cure-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
player-party-member-pokemon-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
pokemon-anim-phase.ts [Move] Implement Substitute (#2559) 2024-09-13 12:46:22 -04:00
pokemon-heal-phase.ts [Move] Implement Heal Block (#4120) 2024-09-21 13:15:32 -07:00
pokemon-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
post-game-over-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
post-summon-phase.ts [Beta][Bug] Major/minor ME bug fixes (#4451) 2024-09-26 18:43:28 -04:00
post-turn-status-effect-phase.ts [Move] Implement Substitute (#2559) 2024-09-13 12:46:22 -04:00
quiet-form-change-phase.ts [Move] Implement autotomization weight effects (#4228) 2024-09-23 11:42:17 -04:00
reload-session-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
return-phase.ts [Move] Implement Shed Tail (#4382) 2024-09-25 17:17:46 -07:00
ribbon-modifier-reward-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
scan-ivs-phase.ts [Move] Implement Substitute (#2559) 2024-09-13 12:46:22 -04:00
select-biome-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
select-challenge-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
select-gender-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
select-modifier-phase.ts change return type of isNullOrUndefined 2024-09-24 13:15:18 -04:00
select-starter-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
select-target-phase.ts [Move] Implement Heal Block (#4120) 2024-09-21 13:15:32 -07:00
shiny-sparkle-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
show-ability-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
show-party-exp-bar-phase.ts [Bug] Fix exp gains speed not applying properly (#4243) 2024-09-14 12:35:46 -04:00
show-trainer-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
stat-stage-change-phase.ts [Bug] Fix stat-protection-attribute not taking inverts (e.g. Contrary) into account (#4031) 2024-09-17 19:14:41 -07:00
summon-missing-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
summon-phase.ts [Beta][Bug] Major/minor ME bug fixes (#4451) 2024-09-26 18:43:28 -04:00
switch-biome-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
switch-phase.ts [Move] Implement Shed Tail (#4382) 2024-09-25 17:17:46 -07:00
switch-summon-phase.ts [Move] Implement Shed Tail (#4382) 2024-09-25 17:17:46 -07:00
test-message-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
title-phase.ts [Daily] Daily standardization (#3776) 2024-09-26 01:39:59 -07:00
toggle-double-position-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
trainer-message-test-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
trainer-victory-phase.ts [Balance] Gigantamax Form Adjustments (Charizard, Eevee, Duraludon) and 999.9 Weight for all, + undo Voucher Event on beta (#4241) 2024-09-13 20:52:12 -07:00
turn-end-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
turn-init-phase.ts [Move] Implement Shed Tail (#4382) 2024-09-25 17:17:46 -07:00
turn-start-phase.ts [Move] Implement Shed Tail (#4382) 2024-09-25 17:17:46 -07:00
unavailable-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
unlock-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
victory-phase.ts [Beta][Bug] Major/minor ME bug fixes (#4451) 2024-09-26 18:43:28 -04:00
weather-effect-phase.ts [Misc] eslint rule to prevent .js imports (#4160) 2024-09-10 22:34:50 +02:00