mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-12 13:42:36 +00:00
199b6f2caf
Also add Move Rand & Move Reset to box modify contextmenu
15 lines
No EOL
483 B
C#
15 lines
No EOL
483 B
C#
namespace PKHeX.Core
|
|
{
|
|
internal sealed class PKMInfo
|
|
{
|
|
internal PKM pkm { get; }
|
|
internal PKMInfo(PKM pk) { pkm = pk; }
|
|
|
|
private LegalityAnalysis la;
|
|
internal LegalityAnalysis Legality => la ?? (la = new LegalityAnalysis(pkm));
|
|
|
|
public bool Legal => Legality.Valid;
|
|
internal int[] SuggestedRelearn => Legality.GetSuggestedRelearn();
|
|
internal EncounterStatic SuggestedEncounter => Legality.GetSuggestedMetInfo();
|
|
}
|
|
} |