mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
9f4b18119e
now matches all other personal table formats var data = File.ReadAllBytes(path); for (int i = 0; i < data.Length; i += PersonalInfoBW.SIZE) { if (data[i + 0x19] == 0) // Ability2 data[i + 0x19] = data[i + 0x18]; if (data[i + 0x1A] == 0) // AbilityH data[i + 0x1A] = data[i + 0x18]; } File.WriteAllBytes(path, data);
39 KiB
39 KiB