From fdca3cb333b8d539751f61cf9cb1635ffd30e92b Mon Sep 17 00:00:00 2001 From: Kurt Date: Fri, 2 Dec 2016 22:08:52 -0800 Subject: [PATCH] Don't fix memories on g7 delete em Closes #564 --- PKHeX/PKM/PK7.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/PKHeX/PKM/PK7.cs b/PKHeX/PKM/PK7.cs index 2497f312a..00a2df081 100644 --- a/PKHeX/PKM/PK7.cs +++ b/PKHeX/PKM/PK7.cs @@ -528,6 +528,17 @@ public void FixMemories() HT_Friendship = HT_Affection = HT_TextVar = HT_Memory = HT_Intensity = HT_Feeling = 0; if (GenNumber < 6) OT_Affection = OT_TextVar = OT_Memory = OT_Intensity = OT_Feeling = 0; + if (GenNumber >= 7) + { + HT_TextVar = HT_Memory = HT_Intensity = HT_Feeling = + OT_TextVar = OT_Memory = OT_Intensity = OT_Feeling = 0; + Geo1_Region = Geo1_Country = + Geo2_Region = Geo2_Country = + Geo3_Region = Geo3_Country = + Geo4_Region = Geo4_Country = + Geo5_Region = Geo5_Country = 0; + return; + } Geo1_Region = Geo1_Country > 0 ? Geo1_Region : 0; Geo2_Region = Geo2_Country > 0 ? Geo2_Region : 0;