From feaa2982639ae6e2ed4d645fa849b997dfb7f833 Mon Sep 17 00:00:00 2001 From: Kurt Date: Thu, 15 Jun 2017 22:42:43 -0700 Subject: [PATCH] Add surf maxlevel +4 for gen1/2 Closes #1221 via cumulative changes --- PKHeX.Core/Legality/Structures/EncounterArea.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.Core/Legality/Structures/EncounterArea.cs b/PKHeX.Core/Legality/Structures/EncounterArea.cs index 669f30311..26c0151d3 100644 --- a/PKHeX.Core/Legality/Structures/EncounterArea.cs +++ b/PKHeX.Core/Legality/Structures/EncounterArea.cs @@ -615,7 +615,7 @@ private static EncounterSlot1[] readSlots(byte[] data, ref int ofs, int count, S slots[i] = new EncounterSlot1 { - LevelMax = lvl, + LevelMax = t == SlotType.Surf ? lvl + 4 : lvl, LevelMin = lvl, Species = spec, Type = t,