mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-20 19:54:44 -05:00
Fix injectiondebug loading
woww I search for the start but never use it, wp thanks Cuestion24
This commit is contained in:
@@ -559,7 +559,7 @@ private void openFile(byte[] input, string path, string ext)
|
||||
CB_BoxSelect.SelectedIndex = 0;
|
||||
for (int i = 0; i < input.Length / (9*30); i++)
|
||||
{
|
||||
byte[] data = input.Skip(0xE8 * i).Take(0xE8).ToArray();
|
||||
byte[] data = input.Skip(offset + 0xE8 * i).Take(0xE8).ToArray();
|
||||
Array.Copy(data, 0, savefile, SaveGame.Box + i*0xE8, 0xE8);
|
||||
setPokedex(PKX.decryptArray(data)); // Set the Pokedex data
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user