pokerogue/src/phases
Moka 38d7a26053
[Sprite][Bug][ME] Fix ME Intro visuals for shinies and other shiny related fixes (#4827)
* [ME] Fix GTS Wonder Trade shiny not giving luck

* [ME] Shiny Magikarp from Pokemon Salesman can have any variant

* [ME] Shiny lock MEs with custom or special sprites

* [ME] GTS shows shiny sparkle for received Pokemon

* [ME] Shiny lock 'Slumbering Snorlax' and 'The Strong Stuff'

* [ME] Dancing Lessson: show shiny sparkle for Oricorio in intro

* [ME] Show shiny sparkles for Pokemon in ME intro

* fix tests

* Ensure shiny sparkle animation is initialized before playing it (Fixes #3924)

* make loading variant assets cleaner

* cleanup EnemyPokemon shiny initialization

* test fixes and final cleanup

* Make 'getSpeciesFilterRandomPartyMemberFunc' more readable

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-30 16:08:53 -08:00
..
add-enemy-buff-modifier-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
attempt-capture-phase.ts [Feature][Balance] Add critical captures, update shake probability to match gen 6 (#4791) 2024-11-06 18:25:27 -08:00
attempt-run-phase.ts [Bug] Honey Gather and Pickup will only activate if the battle was won (#4903) 2024-11-29 13:29:54 -08:00
battle-end-phase.ts [Bug] Honey Gather and Pickup will only activate if the battle was won (#4903) 2024-11-29 13:29:54 -08:00
battle-phase.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
berry-phase.ts [Beta][P2] Several Unburden bug fixes (#4820) 2024-11-10 14:21:29 -05:00
check-status-effect-phase.ts [P2] Fix first-turn status damage and arena hazards (#3528) 2024-10-11 10:41:54 -04:00
check-switch-phase.ts Fix Post-Summon abilities not applying after switch prompt (#4908) 2024-11-30 16:07:01 -08:00
command-phase.ts [Refactor] Remove unnecessary re-exports (#4818) 2024-11-08 17:44:34 -05:00
common-anim-phase.ts [Feature] Add Mystery Encounters to the game (#3938) 2024-09-14 03:05:58 +01:00
damage-anim-phase.ts [Misc] Rename DamagePhase to DamageAnimPhase (#4880) 2024-11-25 14:15:39 -08:00
egg-hatch-phase.ts [Sprite][Bug][ME] Fix ME Intro visuals for shinies and other shiny related fixes (#4827) 2024-11-30 16:08:53 -08:00
egg-lapse-phase.ts [UI/UX] Pass egg hatch count to egg skip prompt (#4913) 2024-11-29 17:59:43 -08:00
egg-summary-phase.ts [QOL] Add input delay for skipping egg summary (#4644) 2024-10-14 10:42:59 -04:00
encounter-phase.ts [Sprite][Bug][ME] Fix ME Intro visuals for shinies and other shiny related fixes (#4827) 2024-11-30 16:08:53 -08: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 [Move][Ability] Implement Commander and Order Up (#4670) 2024-11-05 12:35:43 -05:00
enemy-party-member-pokemon-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
evolution-phase.ts [P1][Beta] Fix FormChangePhase being broken by EvolutionPhase refactor (#4795) 2024-11-05 15:19:20 +01:00
exp-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
faint-phase.ts [Misc] Rename DamagePhase to DamageAnimPhase (#4880) 2024-11-25 14:15:39 -08:00
field-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
form-change-phase.ts [Qol][Refactor] i18n lazy-loading (#4327) 2024-10-01 21:55:16 +01:00
game-over-modifier-reward-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
game-over-phase.ts [P1][Beta] Fix softlock when losing a run on local build (#4846) 2024-11-11 15:22:27 -08:00
hide-party-exp-bar-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
learn-move-phase.ts [P3] Fix mistimed sound effect in LearnMovePhase (#4698) 2024-10-21 10:59:23 -04:00
level-cap-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
level-up-phase.ts [P2] Fix issue with Pokemon not evolving until the next floor and clean up LevelUpPhase (#4854) 2024-11-12 06:44:28 -05:00
login-phase.ts add new lint rules....again 2024-10-04 13:08:31 +08: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 add new lint rules....again 2024-10-04 13:08:31 +08:00
move-charge-phase.ts [P2] Fix various charge move bugs (#4595) 2024-10-23 11:08:40 -04:00
move-effect-phase.ts [Bug] Fix Wimp Out/EE Trainer Battle causing enemy stack with multi hit (#4935) 2024-11-30 13:05:55 -08: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 [Beta][P3] Fix failed charge moves not displaying failed text (#4853) 2024-11-12 06:29:37 -05:00
mystery-encounter-phases.ts [Move][Ability] Implement Commander and Order Up (#4670) 2024-11-05 12:35:43 -05:00
new-battle-phase.ts Deleted phases.ts (#3618) 2024-08-19 03:23:52 +01:00
new-biome-encounter-phase.ts [Refactor] Clean up various methods in battle-scene.ts and pokemon.ts (#4412) 2024-11-03 21:53:52 -05:00
next-encounter-phase.ts [Refactor] Clean up various methods in battle-scene.ts and pokemon.ts (#4412) 2024-11-03 21:53:52 -05:00
obtain-status-effect-phase.ts [P2] Fix Early Bird (#4632) 2024-10-22 12:37:13 -04: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 [Refactor] Clean up various methods in battle-scene.ts and pokemon.ts (#4412) 2024-11-03 21:53:52 -05:00
party-member-pokemon-phase.ts [Refactor] Clean up various methods in battle-scene.ts and pokemon.ts (#4412) 2024-11-03 21:53:52 -05:00
player-party-member-pokemon-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
pokemon-anim-phase.ts [Beta][P1] Fix crash when resetting Commanded Dondozo before Trainer battles (#4873) 2024-11-15 11:56:05 -05:00
pokemon-heal-phase.ts Remove potential desync from PokemonHealPhase (#4497) 2024-09-28 21:40:42 +01: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 Fix Post-Summon abilities not applying after switch prompt (#4908) 2024-11-30 16:07:01 -08:00
post-turn-status-effect-phase.ts [Bug] Prevent battle skip with Wimp Out (#4931) 2024-11-30 11:44:06 -08:00
quiet-form-change-phase.ts Fixed wild form changes messages, and form-changed Cramorant crashing the game when both sides faint at the same time (#4859) 2024-11-13 14:28:22 +08: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 add new lint rules....again 2024-10-04 13:08:31 +08: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 [Beta][P2] Several Unburden bug fixes (#4820) 2024-11-10 14:21:29 -05:00
select-starter-phase.ts [Refactor] Clean up various methods in battle-scene.ts and pokemon.ts (#4412) 2024-11-03 21:53:52 -05: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 [Beta][P2] Several Unburden bug fixes (#4820) 2024-11-10 14:21:29 -05:00
summon-missing-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
summon-phase.ts [P1] Fix crash when newly aquired Pokemon are sent in battle (#4835) 2024-11-10 00:35:49 -05:00
switch-biome-phase.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
switch-phase.ts Fix Post-Summon abilities not applying after switch prompt (#4908) 2024-11-30 16:07:01 -08:00
switch-summon-phase.ts [Bug] Fixed First Turn Move + Wimp Out interaction (#4928) 2024-11-29 13:23:55 -08:00
test-message-phase.ts fix and optimize imports (#4061) 2024-09-07 21:37:37 -07:00
title-phase.ts [Refactor] Pokerogue API client (#4583) 2024-11-04 15:57:21 -05:00
toggle-double-position-phase.ts [Refactor] Clean up various methods in battle-scene.ts and pokemon.ts (#4412) 2024-11-03 21:53:52 -05:00
trainer-message-test-phase.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
trainer-victory-phase.ts [Balance] 'Breeders in Space' cheevo unlocks for normal and expert breeders (#4911) 2024-11-28 17:21:25 -08:00
turn-end-phase.ts [Bug] Prevent battle skip with Wimp Out (#4931) 2024-11-30 11:44:06 -08:00
turn-init-phase.ts [Refactor] Clean up various methods in battle-scene.ts and pokemon.ts (#4412) 2024-11-03 21:53:52 -05:00
turn-start-phase.ts [Move][Refactor] Create Move.getPriority + Fully Implement Upper Hand (#4789) 2024-11-08 10:50:23 -05: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 [Bug] Honey Gather and Pickup will only activate if the battle was won (#4903) 2024-11-29 13:29:54 -08:00
weather-effect-phase.ts [Bug] Prevent battle skip with Wimp Out (#4931) 2024-11-30 11:44:06 -08:00