From e9113633993e96d44f543008abe9e8f5e0b6b4fa Mon Sep 17 00:00:00 2001 From: BlackShark Date: Wed, 26 Jun 2019 16:11:19 +0200 Subject: [PATCH] added missing GameVersion check (#2340) --- PKHeX.WinForms/Subforms/Save Editors/Gen5/SAV_Misc5.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PKHeX.WinForms/Subforms/Save Editors/Gen5/SAV_Misc5.cs b/PKHeX.WinForms/Subforms/Save Editors/Gen5/SAV_Misc5.cs index 7a7a7e214..ab3fa8d29 100644 --- a/PKHeX.WinForms/Subforms/Save Editors/Gen5/SAV_Misc5.cs +++ b/PKHeX.WinForms/Subforms/Save Editors/Gen5/SAV_Misc5.cs @@ -62,6 +62,8 @@ private void ReadMain() string[] FlyDestA = null; switch (SAV.Version) { + case GameVersion.B: + case GameVersion.W: case GameVersion.BW: ofsFly = 0x204B2; FlyDestA = new[] { @@ -77,6 +79,8 @@ private void ReadMain() 10, 13, 12, 14 }; break; + case GameVersion.B2: + case GameVersion.W2: case GameVersion.B2W2: ofsFly = 0x20392; FlyDestA = new[] {