mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-28 09:35:22 -05:00
Add personal table for gg
This commit is contained in:
@@ -12,6 +12,11 @@ namespace PKHeX.Core
|
||||
/// </remarks>
|
||||
public class PersonalTable
|
||||
{
|
||||
/// <summary>
|
||||
/// Personal Table used in <see cref="GameVersion.GG"/>.
|
||||
/// </summary>
|
||||
public static readonly PersonalTable GG = GetTable("gg", GameVersion.GG);
|
||||
|
||||
/// <summary>
|
||||
/// Personal Table used in <see cref="GameVersion.USUM"/>.
|
||||
/// </summary>
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
BIN
PKHeX.Core/Resources/byte/personal_gg
Normal file
BIN
PKHeX.Core/Resources/byte/personal_gg
Normal file
Binary file not shown.
Reference in New Issue
Block a user