mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-11 20:55:25 -05:00
Add $suggest for PKM.Ball
sets a legal ball, with preference for color matching
This commit is contained in:
@@ -402,6 +402,10 @@ private static ModifyResult SetSuggestedPKMProperty(string name, PKMInfo info)
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user