mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-23 07:24:15 -05:00
add batch editor cp/h/w suggest routes
https://projectpokemon.org/home/forums/topic/48773-problem-with-lets-go-pikachueevee-batch-editor/
This commit is contained in:
@@ -339,6 +339,17 @@ private static ModifyResult SetSuggestedPKMProperty(string name, PKMInfo info)
|
||||
var PKM = info.pkm;
|
||||
switch (name)
|
||||
{
|
||||
// pb7 only
|
||||
case nameof(PB7.Stat_CP) when PKM is PB7 pb7:
|
||||
pb7.ResetCP();
|
||||
return ModifyResult.Modified;
|
||||
case nameof(PB7.HeightAbsolute) when PKM is PB7 pb7:
|
||||
pb7.HeightAbsolute = pb7.CalcHeightAbsolute;
|
||||
return ModifyResult.Modified;
|
||||
case nameof(PB7.WeightAbsolute) when PKM is PB7 pb7:
|
||||
pb7.WeightAbsolute = pb7.CalcWeightAbsolute;
|
||||
return ModifyResult.Modified;
|
||||
|
||||
case nameof(PKM.Stats):
|
||||
PKM.SetStats(PKM.GetStats(PKM.PersonalInfo));
|
||||
return ModifyResult.Modified;
|
||||
|
||||
Reference in New Issue
Block a user