From 547c799eeb072cea563244d362b247ed94cd9f4e Mon Sep 17 00:00:00 2001 From: Kurt Date: Mon, 2 Apr 2018 17:51:37 -0700 Subject: [PATCH] Handle gen1/2 static encounters levelup starts after initial moves --- PKHeX.Core/Legality/Encounters/EncounterStatic.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PKHeX.Core/Legality/Encounters/EncounterStatic.cs b/PKHeX.Core/Legality/Encounters/EncounterStatic.cs index 03477b440..b4c2d08ff 100644 --- a/PKHeX.Core/Legality/Encounters/EncounterStatic.cs +++ b/PKHeX.Core/Legality/Encounters/EncounterStatic.cs @@ -1,4 +1,5 @@ using System; +using System.Linq; namespace PKHeX.Core { @@ -148,6 +149,8 @@ public PKM ConvertToPKM(ITrainerInfo SAV) this.CopyContestStatsTo(pk); var moves = Moves ?? Legal.GetEncounterMoves(pk, level, version); + if (pk.Format == 1 && moves.All(z => z == 0)) + moves = (PersonalTable.RB[Species] as PersonalInfoG1).Moves; pk.Moves = moves; pk.SetMaximumPPCurrent(moves); if (pk.Format >= 6 && Relearn != null)