mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 22:54:14 +00:00
Fix signed G7TID
This commit is contained in:
parent
fc97d68847
commit
75aa1b2568
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ namespace PKHeX
|
|||
// Derived
|
||||
public virtual int SpriteItem => HeldItem;
|
||||
public virtual bool IsShiny => TSV == PSV;
|
||||
public int TrainerID7 => (TID | (SID << 16)) % 1000000;
|
||||
public int TrainerID7 => (int)((uint)(TID | (SID << 16)) % 1000000);
|
||||
public bool Gen7 => Version >= 30 && Version <= 31;
|
||||
public bool Gen6 => Version >= 24 && Version <= 29;
|
||||
public bool XY => Version == (int)GameVersion.X || Version == (int)GameVersion.Y;
|
||||
|
|
Loading…
Reference in a new issue