Use Shiny state in Glow

Closes #4055
Glow the shiny star for all formats.
This commit is contained in:
Kurt 2023-11-05 14:24:26 -08:00
parent 59dc7fb694
commit 5cf90deaee

View file

@ -216,7 +216,8 @@ public static class SpriteUtil
{
bool egg = pk.IsEgg;
var formarg = pk is IFormArgument f ? f.FormArgument : 0;
baseSprite = GetSprite(pk.Species, pk.Form, pk.Gender, formarg, 0, egg, Shiny.Never, pk.Context);
var shiny = pk.IsShiny ? Shiny.Always : Shiny.Never;
baseSprite = GetSprite(pk.Species, pk.Form, pk.Gender, formarg, 0, egg, shiny, pk.Context);
GetSpriteGlow(baseSprite, blue, green, red, out pixels, forceHollow || egg);
}