From cc919dbdfcc4b4d54942346f07e1de30593e6dc7 Mon Sep 17 00:00:00 2001 From: sora10pls Date: Tue, 10 Oct 2017 13:02:49 -0400 Subject: [PATCH] Fix off-by-one Poketch offsets --- PKHeX.WinForms/Subforms/Save Editors/Gen4/SAV_Misc4.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKHeX.WinForms/Subforms/Save Editors/Gen4/SAV_Misc4.cs b/PKHeX.WinForms/Subforms/Save Editors/Gen4/SAV_Misc4.cs index 3596507f6..7b1f2f232 100644 --- a/PKHeX.WinForms/Subforms/Save Editors/Gen4/SAV_Misc4.cs +++ b/PKHeX.WinForms/Subforms/Save Editors/Gen4/SAV_Misc4.cs @@ -27,7 +27,7 @@ namespace PKHeX.WinForms ofsFlag = GBO + 0xFDC; ofsBP = GBO + 0x65F8; ofsUGFlagCount = GBO + 0x3A60; - ofsPoketch = GBO + 0x114F; + ofsPoketch = GBO + 0x114E; L_CurrentMap.Visible = CB_UpgradeMap.Visible = false; GB_Prints.Visible = GB_Prints.Enabled = GB_Hall.Visible = GB_Hall.Enabled = GB_Castle.Visible = GB_Castle.Enabled = false; BFF = new[] { new[] { 0, 1, 0x5FCA, 0x04, 0x6601 }, }; @@ -36,7 +36,7 @@ namespace PKHeX.WinForms ofsFlag = GBO + 0xFEC; ofsBP = GBO + 0x7234; ofsUGFlagCount = GBO + 0x3CE8; - ofsPoketch = GBO + 0x1163; + ofsPoketch = GBO + 0x1162; L_CurrentMap.Visible = CB_UpgradeMap.Visible = false; ofsPrints = GBO + 0xE4A; BFF = new[] {