Fix safari unlock

dat 0 -> o
Closes #2262
This commit is contained in:
Kurt 2019-02-14 18:17:16 -08:00
parent 2bb0ea0b38
commit 3d01617c93

View file

@ -1154,9 +1154,9 @@ namespace PKHeX.Core
const int size = 0x15;
for (int i = 1; i < 101; i++)
{
int o = start + (i * size);
if (Data[o] != 0) // no friend data == 0x00
Data[0] = 0x3D;
int ofs = start + (i * size);
if (Data[ofs] != 0) // no friend data == 0x00
Data[ofs] = 0x3D;
}
Edited = true;
}