diff --git a/PKX/f1-Main.cs b/PKX/f1-Main.cs index 351539428..61b6440ea 100644 --- a/PKX/f1-Main.cs +++ b/PKX/f1-Main.cs @@ -621,7 +621,7 @@ private bool openXOR(byte[] input, string path) // Weakly check the validity of the decrypted content if (BitConverter.ToUInt32(decryptedPS, 0x76000 - 0x1F0) != 0x42454546) // Not OR/AS - if (BitConverter.ToUInt32(decryptedPS, 0x76000 - 0x1F0) != 0x42454546) + if (BitConverter.ToUInt32(decryptedPS, 0x65600 - 0x1F0) != 0x42454546) continue; // Not X/Y, so continue. else Array.Resize(ref decryptedPS, 0x65600); // set to X/Y size