mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-18 16:33:24 +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();
|
|
}
|
|
} |