Make 6->7 transfers (mostly) bank accurate.

This commit is contained in:
Michael Scire 2017-01-25 00:28:16 -08:00
parent b37cb77b74
commit fbafbba0b1

View file

@ -619,6 +619,12 @@ namespace PKHeX.Core
break;
}
// Bank-accurate data zeroing
for (var i = 0x94; i < 0x9E; i++) pk7.Data[i] = 0; /* Geolocations. */
for (var i = 0xAA; i < 0xB0; i++) pk7.Data[i] = 0; /* Unused/Amie. */
for (var i = 0xE4; i < 0xE8; i++) pk7.Data[i] = 0; /* Unused. */
// Fix Checksum
pk7.RefreshChecksum();