Permit non-0 h/w on WC8 HOME gifts

Yay home rerolling these when transferred back in.
Ex: magearna gift
This commit is contained in:
Kurt 2023-06-03 21:03:17 -07:00
parent 35e3608dad
commit 5c21e4c73b

View File

@ -711,7 +711,7 @@ public override bool IsMatchExact(PKM pk, EvoCriteria evo)
if (pk is PK8 pk8 && pk8.DynamaxLevel < DynamaxLevel)
return false;
if (IsHOMEGift && pk is IScaledSize s)
if (IsHOMEGift && pk is IScaledSize s and not IHomeTrack { HasTracker: true })
{
if (s.HeightScalar != 0)
return false;