Fix SnapCount reset

Closes #537
This commit is contained in:
Kurt
2016-11-30 08:49:30 -08:00
parent 38fecb89d4
commit 054efccf3f

View File

@@ -475,7 +475,7 @@ public ushort PokeFinderCameraVersion
public bool PokeFinderGyroFlag
{
get { return BitConverter.ToUInt16(Data, PokeFinderSave + 0x02) == 1; }
set { BitConverter.GetBytes((ushort)(value ? 1 : 0)).CopyTo(Data, PokeFinderSave + 0x04); }
set { BitConverter.GetBytes((ushort)(value ? 1 : 0)).CopyTo(Data, PokeFinderSave + 0x02); }
}
public uint PokeFinderSnapCount
{
@@ -506,7 +506,7 @@ public uint PokeFinderThumbsHighValue
BitConverter.GetBytes(value).CopyTo(Data, PokeFinderSave + 0x10);
if (value > PokeFinderThumbsTotalValue)
PokeFinderThumbsHighValue = value;
PokeFinderThumbsTotalValue = value;
}
}
public ushort PokeFinderTutorialFlags