mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-11 15:07:11 +00:00
Show shadow aura for colo/xd shadow mons
differentiate unpurified vs purified while in cxd, muh value added
This commit is contained in:
parent
93af3e61b7
commit
9f1d850273
1 changed files with 8 additions and 1 deletions
|
@ -83,7 +83,14 @@ namespace PKHeX.WinForms
|
|||
|
||||
private static Image GetSprite(PKM pkm, bool isBoxBGRed = false)
|
||||
{
|
||||
return GetSprite(pkm.Species, pkm.AltForm, pkm.Gender, pkm.SpriteItem, pkm.IsEgg, pkm.IsShiny, pkm.Format, isBoxBGRed);
|
||||
var img = GetSprite(pkm.Species, pkm.AltForm, pkm.Gender, pkm.SpriteItem, pkm.IsEgg, pkm.IsShiny, pkm.Format, isBoxBGRed);
|
||||
if (pkm is IShadowPKM s && s.Purification > 0)
|
||||
{
|
||||
GetSpriteGlow(pkm, new byte[] { 75, 0, 130 }, out var pixels, out var baseSprite, true);
|
||||
var glowImg = ImageUtil.GetBitmap(pixels, baseSprite.Width, baseSprite.Height, baseSprite.PixelFormat);
|
||||
img = ImageUtil.LayerImage(glowImg, img, 0, 0);
|
||||
}
|
||||
return img;
|
||||
}
|
||||
|
||||
private static Image GetSprite(SaveFile SAV)
|
||||
|
|
Loading…
Reference in a new issue