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.44k stars 1.79k forks source link

[BUG] Shiny display on team select screen #2744

Closed HiddenAbilitree closed 1 month ago

HiddenAbilitree commented 3 months ago

Describe the bug On mount, sprites of shinies in the team selection screen are their normal counterparts and will change to the shiny sprite after hovering over it, and will retain the shiny version after unhovering.

To Reproduce Open a new PokeRogue instance or refresh an existing one. Select New Game. Select any game mode. Shiny Pokemon will show the default sprite in the team selector. Hover over the Pokemon. The sprite switches to the shiny version. When moving off of the shiny Pokemon, the shiny sprite stays.

Expected behavior It should show the shiny sprite instead of the default version by default.

Screenshots / Videos Before hovering.

Screenshot 2024-07-01 at 3 47 58 PM

After the first and any subsequent hovers.

Screenshot 2024-07-01 at 3 48 12 PM

After moving off of the Pokemon.

Screenshot 2024-07-01 at 3 48 18 PM

Device MacBook Pro Sonoma 14.5

Additional context Occurs on Firefox 127.0.2 and Chrome 126.0.6478.127

Snailman11 commented 1 month ago

Fixed with the UI update