Update p*7 transfer logic

Add scalars & stat natures

Do note: there is more data that is set and can potentially be used to flag you for cheats. Beware.
This commit is contained in:
Kurt 2020-02-11 18:05:07 -08:00
parent 7523639b48
commit 332f92f5e9
2 changed files with 14 additions and 1 deletions

View file

@ -652,11 +652,17 @@ namespace PKHeX.Core
Met_Level = Met_Level,
OT_Gender = OT_Gender,
// todo: memories
// Memories don't exist in LGPE, and no memories are set on transfer.
OT_Memory = OT_Memory,
OT_TextVar = OT_TextVar,
OT_Feeling = OT_Feeling,
OT_Intensity = OT_Intensity,
// No Ribbons or Markings on transfer.
StatNature = Nature,
HeightScalar = HeightScalar,
WeightScalar = WeightScalar,
};
pk8.HealPP();

View file

@ -631,6 +631,13 @@ namespace PKHeX.Core
RibbonBattleRoyale = RibbonBattleRoyale,
RibbonBattleTreeGreat = RibbonBattleTreeGreat,
RibbonBattleTreeMaster = RibbonBattleTreeMaster,
// No Ribbons or Markings on transfer.
// Todo: Analyze the distribution to see if it's triangular /\ or just pure random
StatNature = Nature,
HeightScalar = PokeSizeExtensions.GetRandomScalar(),
WeightScalar = PokeSizeExtensions.GetRandomScalar(),
};
// Fix PP