Fix gen5 party count offset

Dunno what the first 06 is for, but shift the offset by 0x4.
This commit is contained in:
Kaphotics 2016-09-23 15:13:36 -07:00
parent ff2e8525f7
commit c76aa1d5d8

View File

@ -425,8 +425,8 @@ public override InventoryPouch[] Inventory
// Storage
public override int PartyCount
{
get { return Data[Party]; }
protected set { Data[Party] = (byte)value; }
get { return Data[Party + 4]; }
protected set { Data[Party + 4] = (byte)value; }
}
public override int getBoxOffset(int box)
{