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:
Kaphotics
2016-07-27 18:51:11 -07:00
parent 07f0d688dc
commit b6f4c696f7

View File

@@ -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