mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-25 11:25:30 -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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user