mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-15 08:31:21 -05:00
Fix GSC table loading
Was ignoring G/S slots (only had crystal) thus some special G/S encounters (underleveled examples being Magmar lvl14) were not recognized. Thanks HaxAras! https://projectpokemon.org/forums/forums/topic/41579-pokemon-silver-under-leveled-pokemon-flagged-as-illegal/
This commit is contained in:
parent
423be8b2c0
commit
f78e017e47
|
|
@ -34,7 +34,7 @@ private static EncounterArea[] GetTables2(GameVersion Version)
|
|||
var f = EncounterArea.GetArray2_F(Util.GetBinaryResource("encounter_gsc_f.pkl"));
|
||||
|
||||
EncounterArea[] Slots = new EncounterArea[0];
|
||||
if (GameVersion.GS.Contains(Version))
|
||||
if (Version.Contains(GameVersion.GS))
|
||||
Slots = GetSlots_GS(f);
|
||||
if (Version.Contains(GameVersion.C))
|
||||
Slots = AddExtraTableSlots(Slots, GetSlots_C(f));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user