pagefaultgames / pokerogue

A browser based Pokémon fangame heavily inspired by the roguelite genre.
https://pokerogue.net
GNU Affero General Public License v3.0
4.41k stars 1.78k forks source link

[Bug] Shiny sparkle animation not always showing during Egg Hatch Phase #3924

Open MokaStitcher opened 1 month ago

MokaStitcher commented 1 month ago

Describe the bug

When hatching eggs the sparkle animation doesn't always show up.

I investigated a bit and it seems like the animation for each tier only gets loaded if you play with a Pokemon of that tier in your party (and also probably if you encounter a wild shiny for that tier, but I didn't test for that)

Session export file

No response

User data export file

No response

Expected behavior

The sparkle animation should always get loaded in so that they always show up when hatching eggs

Screenshots / Videos

Here's what the console looks like when hatching a batch of shiny eggs after opening the game and starting a run with a non shiny Pokemon

Screenshot 2024-08-30 at 22 08 11

After that, I exited to the main menu, pulled more eggs, and started a different run with a tier 2 and tier 3 shiny Pokemon in the team. The tier 2 one was the only one to ever be on the field. When the eggs hatched both tier 2 and tier 3 shinies had their sparkle animation this time, but not the tier 1 shinies

What OS did you observe the bug on?

Mac/OSX

If other please specify

No response

Which browser do you use?

Firefox

If other please specify

No response

Additional context

No response

Snailman11 commented 1 month ago

Link to Discord Bug Report: (shiny sparkle animation not happening for mons hatching from eggs) https://discord.com/channels/1125469663833370665/1242254572022530128