Skip to content

Commit

Permalink
Skip ID check if EncounterTrade
Browse files Browse the repository at this point in the history
SID = 0 is totally valid.
  • Loading branch information
kwsch committed Apr 8, 2016
1 parent 1c531b0 commit 53da8c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Legality/Checks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ private LegalityCheck verifyIVs()
}
private LegalityCheck verifyID()
{
if (EncounterType == typeof(EncounterTrade))
return new LegalityCheck(); // Already matches Encounter Trade information
if (pk6.TID == 0 && pk6.SID == 0)
return new LegalityCheck(Severity.Fishy, "TID and SID are zero.");
if (pk6.TID == pk6.SID)
Expand Down

0 comments on commit 53da8c3

Please sign in to comment.