Add batch command to suggest HeightAbsolute & WeightAbsolute (#3435)

Already available for PB7, this adds it for PA8.
This commit is contained in:
Easy World 2022-02-13 23:10:26 +08:00 committed by GitHub
parent 013fe95c8d
commit 843e065fb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,10 @@ namespace PKHeX.Core
new TypeSuggestion<PB7>(nameof(PB7.Stat_CP), p => p.ResetCP()),
new TypeSuggestion<PB7>(nameof(PB7.HeightAbsolute), p => p.HeightAbsolute = p.CalcHeightAbsolute),
new TypeSuggestion<PB7>(nameof(PB7.WeightAbsolute), p => p.WeightAbsolute = p.CalcWeightAbsolute),
// PA8 Specific
new TypeSuggestion<PA8>(nameof(PA8.HeightAbsolute), p => p.HeightAbsolute = p.CalcHeightAbsolute),
new TypeSuggestion<PA8>(nameof(PA8.WeightAbsolute), p => p.WeightAbsolute = p.CalcWeightAbsolute),
// Date Copy
new TypeSuggestion<PKM>(nameof(PKM.EggMetDate), p => p.EggMetDate = p.MetDate),
@ -78,4 +82,4 @@ namespace PKHeX.Core
return Shiny.Random;
}
}
}
}