diff --git a/PKHeX.Core/PersonalInfo/PersonalTable.cs b/PKHeX.Core/PersonalInfo/PersonalTable.cs index cec82099c..b6583edb6 100644 --- a/PKHeX.Core/PersonalInfo/PersonalTable.cs +++ b/PKHeX.Core/PersonalInfo/PersonalTable.cs @@ -12,6 +12,11 @@ namespace PKHeX.Core /// public class PersonalTable { + /// + /// Personal Table used in . + /// + public static readonly PersonalTable GG = GetTable("gg", GameVersion.GG); + /// /// Personal Table used in . /// @@ -133,6 +138,8 @@ private static byte[][] SplitBytes(byte[] data, int size) return z => new PersonalInfoXY(z); case GameVersion.ORAS: return z => new PersonalInfoORAS(z); + case GameVersion.GG: + return z => new PersonalInfoGG(z); default: return z => new PersonalInfoSM(z); } @@ -157,7 +164,8 @@ private static int GetEntrySize(GameVersion format) case GameVersion.XY: return PersonalInfoXY.SIZE; case GameVersion.ORAS: return PersonalInfoORAS.SIZE; case GameVersion.SM: - case GameVersion.USUM: return PersonalInfoSM.SIZE; + case GameVersion.USUM: + case GameVersion.GG: return PersonalInfoSM.SIZE; default: return -1; } diff --git a/PKHeX.Core/Resources/byte/personal_gg b/PKHeX.Core/Resources/byte/personal_gg new file mode 100644 index 000000000..acbf72f76 Binary files /dev/null and b/PKHeX.Core/Resources/byte/personal_gg differ