mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-28 05:12:14 -05:00
Minor cleanup
No functional changes.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using System.Linq;
|
||||
|
||||
namespace PKHeX
|
||||
{
|
||||
@@ -28,6 +26,7 @@ public LegalityCheck(Severity s, string c)
|
||||
public class LegalityAnalysis
|
||||
{
|
||||
public bool Valid = false;
|
||||
public LegalityCheck EC, Nickname, PID, IDs, IVs, EVs;
|
||||
public int[] ValidMoves => Legal.getValidMoves(pk6.Species, pk6.CurrentLevel);
|
||||
public int[] ValidRelearnMoves => Legal.getValidRelearn(pk6.Species);
|
||||
public string Report => getLegalityReport();
|
||||
@@ -62,7 +61,6 @@ public bool[] getMoveValidity(int[] Moves, int[] RelearnMoves)
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
public bool[] getRelearnValidity(int[] Moves)
|
||||
{
|
||||
if (Moves.Length != 4)
|
||||
@@ -98,8 +96,6 @@ public bool[] getRelearnValidity(int[] Moves)
|
||||
res[i] &= Moves[i] == 0;
|
||||
return res;
|
||||
}
|
||||
|
||||
public LegalityCheck EC, Nickname, PID, IDs, IVs, EVs;
|
||||
private string getLegalityReport()
|
||||
{
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user