Show gmax X like pkm atop a mystery gift sprite

This commit is contained in:
Kurt 2021-08-14 17:07:23 -07:00
parent e1c8ab8d96
commit c5919dbec4

View file

@ -67,6 +67,11 @@ namespace PKHeX.Drawing
return Spriter.None;
var img = GetBaseImage(gift);
if (gift is IGigantamax {CanGigantamax: true})
{
var gm = Resources.dyna;
return ImageUtil.LayerImage(img, gm, (img.Width - gm.Width) / 2, 0);
}
if (gift.GiftUsed)
img = ImageUtil.ChangeOpacity(img, 0.3);
return img;