From 3aed3ac2629bcb6e56c18e81170b5bda32be4e70 Mon Sep 17 00:00:00 2001 From: Kurt Date: Tue, 2 Dec 2014 20:27:49 -0800 Subject: [PATCH] Encrypt initialization data for dropping Click event can happen before this data is loaded, so just in case we start with it encrypted instead of decrypted. Thanks Slashmolder for finding this! --- PKX/f1-Main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKX/f1-Main.cs b/PKX/f1-Main.cs index 07bb3cc1e..70d23f824 100644 --- a/PKX/f1-Main.cs +++ b/PKX/f1-Main.cs @@ -6228,7 +6228,7 @@ private void pbBoxSlot_DragEnter(object sender, DragEventArgs e) if (e.Data != null) e.Effect = DragDropEffects.Move; } - private byte[] pkm_from = new Byte[0xE8]; + private byte[] pkm_from = PKX.encryptArray(new Byte[0xE8]); private int pkm_from_offset = 0; private void L_Save_Click(object sender, EventArgs e) {