mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 22:54:14 +00:00
Update WC8.cs
This commit is contained in:
parent
035bac1ed3
commit
5128825e78
1 changed files with 11 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue