Tweak PB8.FixMemories for importing eggs & handler quirk

This commit is contained in:
Kurt 2021-12-27 01:53:28 -08:00
parent 29fd17a6f9
commit 5f7caf9ca2

View file

@ -65,16 +65,20 @@ namespace PKHeX.Core
if (IsEgg) // No memories if is egg.
{
HT_Language = HT_Friendship = HT_TextVar = HT_Memory = HT_Intensity = HT_Feeling =
/* OT_Friendship */ OT_TextVar = OT_Memory = OT_Intensity = OT_Feeling = 0;
HT_TextVar = HT_Memory = HT_Intensity = HT_Feeling = 0;
OT_TextVar = OT_Memory = OT_Intensity = OT_Feeling = 0;
// Clear Handler
if (!IsTradedEgg)
{
HT_Friendship = HT_Language = HT_Gender = 0;
HT_Trash.Clear();
}
return;
}
if (IsUntraded)
HT_Language = HT_Friendship = HT_TextVar = HT_Memory = HT_Intensity = HT_Feeling = 0;
HT_Language = HT_Friendship = HT_TextVar = HT_Memory = HT_Intensity = HT_Feeling = HT_Gender = 0;
int gen = Generation;
if (gen < 6)