mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 14:44:24 +00:00
Tweak PB8.FixMemories for importing eggs & handler quirk
This commit is contained in:
parent
29fd17a6f9
commit
5f7caf9ca2
1 changed files with 8 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue