From 0ddce7f39a7e8bb6ab1fb89e6ec5ea73707ea941 Mon Sep 17 00:00:00 2001 From: Bernardo Giordano Date: Fri, 20 Jan 2017 14:41:15 +0100 Subject: [PATCH] Fix HGSS checksum offset 0x12300 is the length, not the end offset. 0x21A00 = 0xF700 + 0x12300 --- PKHeX/Saves/SAV4.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX/Saves/SAV4.cs b/PKHeX/Saves/SAV4.cs index e1bbfded8..4293d4ce8 100644 --- a/PKHeX/Saves/SAV4.cs +++ b/PKHeX/Saves/SAV4.cs @@ -74,7 +74,7 @@ private static int[][] getCHKOffsets(GameVersion g) case GameVersion.Pt: return new[] {new[] {0x0000, 0xCF18, 0xCF2A}, new[] {0xCF2C, 0x1F0FC, 0x1F10E}}; case GameVersion.HGSS: - return new[] {new[] {0x0000, 0xF618, 0xF626}, new[] {0xF700, 0x12300, 0x21A0E}}; + return new[] {new[] {0x0000, 0xF618, 0xF626}, new[] {0xF700, 0x21A00, 0x21A0E}}; default: return null;