From b6f4c696f7041ce33f526daaeb30f5e5c66b627a Mon Sep 17 00:00:00 2001 From: Kaphotics Date: Wed, 27 Jul 2016 18:51:11 -0700 Subject: [PATCH] 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). --- Saves/SaveFile.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Saves/SaveFile.cs b/Saves/SaveFile.cs index ea039ccd8..f767aa96a 100644 --- a/Saves/SaveFile.cs +++ b/Saves/SaveFile.cs @@ -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