From 8084102eb968de218fb752a5db9f7b08bb5c7467 Mon Sep 17 00:00:00 2001 From: ReignOfComputer Date: Sun, 17 Sep 2023 00:40:09 +0800 Subject: [PATCH] Additional G9 DLC Save Sizes (#3995) * Additional G9 DLC Save Sizes * Additional Size and Adjusted Diff * Another Additional Size --- PKHeX.Core/Saves/Util/SaveUtil.cs | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/PKHeX.Core/Saves/Util/SaveUtil.cs b/PKHeX.Core/Saves/Util/SaveUtil.cs index a386bcb97..cf1726790 100644 --- a/PKHeX.Core/Saves/Util/SaveUtil.cs +++ b/PKHeX.Core/Saves/Util/SaveUtil.cs @@ -36,14 +36,19 @@ public static class SaveUtil public const int SIZE_G9_3P0 = SIZE_G9_3B0 + 0x5; // GO (before Multiplayer) public const int SIZE_G9_3P1 = SIZE_G9_3B1 + 0x5; // GO (before Multiplayer) - // 2.0.0: Teal Mask - public const int SIZE_G9_DLC1_0 = 0x4329A9; - public const int SIZE_G9_DLC1_1 = 0x4329AE; // +5 - public const int SIZE_G9_DLC1_A = 0x4329B6; // +8 + // 2.0.1 (2.0.0 skipped): Teal Mask + public const int SIZE_G9_DLC1_B = 0x4329A0; // +9 + public const int SIZE_G9_DLC1_0 = 0x4329A9; // +4 + public const int SIZE_G9_DLC1_E = 0x4329AD; // +1 + public const int SIZE_G9_DLC1_1 = 0x4329AE; // +1 + public const int SIZE_G9_DLC1_D = 0x4329B2; // +4 + public const int SIZE_G9_DLC1_F = 0x4329B3; // +1 + public const int SIZE_G9_DLC1_A = 0x4329B6; // +3 public const int SIZE_G9_DLC1_2 = 0x4329BB; // +5 public const int SIZE_G9_DLC1_3 = 0x4329C0; // +5 public const int SIZE_G9_DLC1_4 = 0x432EB6; - public const int SIZE_G9_DLC1_5 = 0x432EBF; // +9 + public const int SIZE_G9_DLC1_C = 0x432EBB; // +5 + public const int SIZE_G9_DLC1_5 = 0x432EBF; // +4 public const int SIZE_G9_DLC1_6 = 0x432EC3; // +4 public const int SIZE_G9_DLC1_7 = 0x432EC8; // +5 public const int SIZE_G9_DLC1_8 = 0x432ECD; // +5 @@ -150,6 +155,10 @@ public static class SaveUtil SIZE_G9_DLC1_7, SIZE_G9_DLC1_8, SIZE_G9_DLC1_A, + SIZE_G9_DLC1_B, + SIZE_G9_DLC1_C, + SIZE_G9_DLC1_D, + SIZE_G9_DLC1_E, }; private static readonly HashSet SizesSWSH = new()