mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
Make 6->7 transfers (mostly) bank accurate.
This commit is contained in:
parent
b37cb77b74
commit
fbafbba0b1
1 changed files with 7 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue