Fix HGSS checksum offset

0x12300 is the length, not the end offset. 0x21A00 = 0xF700 + 0x12300
This commit is contained in:
Bernardo Giordano 2017-01-20 14:41:15 +01:00 committed by GitHub
parent 63c0eed953
commit 0ddce7f39a

View file

@ -74,7 +74,7 @@ namespace PKHeX.Core
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;