add Vivillon FormValue

This value also once set when newgame start, depend on 3DS location settings.
This commit is contained in:
pokecal
2017-03-03 03:36:02 +09:00
committed by GitHub
parent 10ce89765d
commit 40b3887bd0

View File

@@ -495,6 +495,11 @@ public uint BP
BitConverter.GetBytes(value).CopyTo(Data, Misc + 0x11C);
}
}
public int Vivillon
{
get { return Data[Misc + 0x130] & 0x1F; }
set { Data[Misc + 0x130] = (byte)((Data[Misc + 0x130] & ~0x1F) | (value & 0x1F)); }
}
public uint UsedFestaCoins
{
get { return BitConverter.ToUInt32(Data, 0x69C98); }