mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-23 13:25:04 -05:00
Fix HGSS checksum offset
0x12300 is the length, not the end offset. 0x21A00 = 0xF700 + 0x12300
This commit is contained in:
committed by
GitHub
parent
63c0eed953
commit
0ddce7f39a
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user