diff --git a/PKHeX.Core/PersonalInfo/PersonalInfoGG.cs b/PKHeX.Core/PersonalInfo/PersonalInfoGG.cs new file mode 100644 index 000000000..94bf68f4b --- /dev/null +++ b/PKHeX.Core/PersonalInfo/PersonalInfoGG.cs @@ -0,0 +1,13 @@ +using System; + +namespace PKHeX.Core +{ + /// + /// class with values from the LGPE games. + /// + public class PersonalInfoGG : PersonalInfoSM + { + public PersonalInfoGG(byte[] data) : base(data) { } + public int GoSpecies { get => BitConverter.ToUInt16(Data, 0x48); set => BitConverter.GetBytes((ushort)value).CopyTo(Data, 0x48); } + } +}