Add lgpe properties

This commit is contained in:
Kurt 2018-07-14 21:55:45 -07:00
parent 8d89776ae9
commit cc509de83c
2 changed files with 3 additions and 0 deletions

View file

@ -76,6 +76,8 @@ namespace PKHeX.Core
return SM;
case US: case UM:
return USUM;
case GP: case GE:
return GG;
default:
return Invalid;

View file

@ -289,6 +289,7 @@ namespace PKHeX.Core
public bool AO => Version == (int)GameVersion.AS || Version == (int)GameVersion.OR;
public bool SM => Version == (int)GameVersion.SN || Version == (int)GameVersion.MN;
public bool USUM => Version == (int)GameVersion.US || Version == (int)GameVersion.UM;
public bool GG => Version == (int)GameVersion.GP || Version == (int)GameVersion.GE;
protected bool PtHGSS => Pt || HGSS;
public bool VC => VC1 || VC2;
public bool Gen7 => Version >= 30 && Version <= 33;