mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 08:47:14 +00:00
Update friendship/memory logic
This commit is contained in:
parent
28390758e6
commit
d2103a96b3
1 changed files with 16 additions and 4 deletions
20
Misc/WC6.cs
20
Misc/WC6.cs
|
@ -262,11 +262,23 @@ namespace PKHeX
|
||||||
RIB4_4 = RIB1_0, // World Champ Ribbon
|
RIB4_4 = RIB1_0, // World Champ Ribbon
|
||||||
|
|
||||||
// Memories
|
// Memories
|
||||||
CurrentFriendship = PKX.getBaseFriendship(Species),
|
OT_Friendship = PKX.getBaseFriendship(Species),
|
||||||
Geo1_Country = SAV.Country,
|
|
||||||
Geo1_Region = SAV.SubRegion,
|
|
||||||
};
|
};
|
||||||
pk.TradeMemory(Bank: false);
|
if (pk.CurrentHandler == 0) // OT
|
||||||
|
{
|
||||||
|
pk.OT_Memory = 3;
|
||||||
|
pk.OT_TextVar = 9;
|
||||||
|
pk.OT_Intensity = 1;
|
||||||
|
pk.OT_Feeling = Util.rand.Next(0, 9);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pk.HT_Memory = 3;
|
||||||
|
pk.HT_TextVar = 9;
|
||||||
|
pk.HT_Intensity = 1;
|
||||||
|
pk.HT_Feeling = Util.rand.Next(0, 9);
|
||||||
|
pk.HT_Friendship = pk.OT_Friendship;
|
||||||
|
}
|
||||||
pk.IsNicknamed = IsNicknamed;
|
pk.IsNicknamed = IsNicknamed;
|
||||||
pk.Nickname = IsNicknamed ? Nickname : PKX.getSpeciesName(Species, pk.Language);
|
pk.Nickname = IsNicknamed ? Nickname : PKX.getSpeciesName(Species, pk.Language);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue