mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +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
|
@ -618,7 +618,13 @@ namespace PKHeX.Core
|
|||
pk7.Ability = pk7.PersonalInfo.Abilities[index];
|
||||
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