mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-23 23:16:08 -05:00
Fix gen5 party count offset
Dunno what the first 06 is for, but shift the offset by 0x4.
This commit is contained in:
parent
ff2e8525f7
commit
c76aa1d5d8
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user