From 309ef8bc34d03536836e51b3b6da042eacf4533f Mon Sep 17 00:00:00 2001 From: Kurt Date: Fri, 18 Aug 2017 19:36:16 -0700 Subject: [PATCH] Fix location suggestion some games don't have location set to the slot, just copy from area closes #1402 --- PKHeX.Core/Legality/Encounters/EncounterSuggestion.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.Core/Legality/Encounters/EncounterSuggestion.cs b/PKHeX.Core/Legality/Encounters/EncounterSuggestion.cs index a7ce19919..2ae3747af 100644 --- a/PKHeX.Core/Legality/Encounters/EncounterSuggestion.cs +++ b/PKHeX.Core/Legality/Encounters/EncounterSuggestion.cs @@ -44,8 +44,8 @@ private static EncounterStatic GetSuggestedEncounterWild(EncounterArea area, int var first = slots.First(); var encounter = new EncounterStatic { + Location = area.Location, Species = first.Species, - Location = first.Location, Level = first.LevelMin, }; if (loc != -1) // forced location