mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Add lgpe properties
This commit is contained in:
parent
8d89776ae9
commit
cc509de83c
2 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,8 @@ namespace PKHeX.Core
|
|||
return SM;
|
||||
case US: case UM:
|
||||
return USUM;
|
||||
case GP: case GE:
|
||||
return GG;
|
||||
|
||||
default:
|
||||
return Invalid;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue