mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-12 23:37:07 +00:00
Show gmax X like pkm atop a mystery gift sprite
This commit is contained in:
parent
e1c8ab8d96
commit
c5919dbec4
1 changed files with 5 additions and 0 deletions
|
@ -67,6 +67,11 @@ namespace PKHeX.Drawing
|
||||||
return Spriter.None;
|
return Spriter.None;
|
||||||
|
|
||||||
var img = GetBaseImage(gift);
|
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)
|
if (gift.GiftUsed)
|
||||||
img = ImageUtil.ChangeOpacity(img, 0.3);
|
img = ImageUtil.ChangeOpacity(img, 0.3);
|
||||||
return img;
|
return img;
|
||||||
|
|
Loading…
Reference in a new issue