mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 09:38:34 -05:00
Fix Party retrieval
"Party" variable was undefined in gen3 (and others), thus returning blank party information. Use the abstract method to get the true offset of a party slot (which is implemented differently per gen).
This commit is contained in:
@@ -154,7 +154,7 @@ public PKM[] PartyData
|
||||
{
|
||||
PKM[] data = new PKM[PartyCount];
|
||||
for (int i = 0; i < data.Length; i++)
|
||||
data[i] = getPartySlot(Party + SIZE_PARTY * i);
|
||||
data[i] = getPartySlot(getPartyOffset(i));
|
||||
return data;
|
||||
}
|
||||
set
|
||||
|
||||
Reference in New Issue
Block a user