Add $suggest for PKM.Ball

sets a legal ball, with preference for color matching
This commit is contained in:
Kurt 2019-12-03 20:14:36 -08:00
parent 99a884c56e
commit d70a234552

View file

@ -402,6 +402,10 @@ namespace PKHeX.Core
case nameof(PKM.Moves):
return SetMoves(pk, pk.GetMoveSet(la: info.Legality));
case nameof(PKM.Ball):
BallRandomizer.ApplyBallLegalByColor(pk);
return ModifyResult.Modified;
default:
return ModifyResult.Error;
}