mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-22 12:03:10 +00:00
Use Shiny state in Glow
Closes #4055 Glow the shiny star for all formats.
This commit is contained in:
parent
59dc7fb694
commit
5cf90deaee
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue