Update WC8.cs

This commit is contained in:
Kurt 2020-07-18 10:46:22 -05:00
parent 035bac1ed3
commit 5128825e78

View file

@ -540,8 +540,17 @@ namespace PKHeX.Core
// HOME gifts -- PID and EC are zeroes...
if (EncryptionConstant != pkm.EncryptionConstant)
return false;
if (IsShiny != pkm.IsShiny)
return false;
if (IsShiny)
{
if (!pkm.IsShiny)
return false;
}
else
{
if (pkm.IsShiny && !(TID == 0 && SID == 0 && PID != 0))
return false;
}
if (OTGender >= 2 && pkm.TrainerSID7 != 0)
return false;