mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
Enable 6->7 legality checking
This commit is contained in:
parent
ae3c5721a8
commit
3651a73932
1 changed files with 2 additions and 2 deletions
|
@ -2637,7 +2637,7 @@ namespace PKHeX
|
|||
private void showLegality(PKM pk, bool tabs, bool verbose)
|
||||
{
|
||||
LegalityAnalysis la = new LegalityAnalysis(pk);
|
||||
if (!la.Native)
|
||||
if (!la.Parsed)
|
||||
{
|
||||
Util.Alert($"Checking legality of PK{pk.Format} files that originated from Gen{pk.GenNumber} is not supported.");
|
||||
return;
|
||||
|
@ -2651,7 +2651,7 @@ namespace PKHeX
|
|||
if (!fieldsLoaded)
|
||||
return;
|
||||
Legality = la ?? new LegalityAnalysis(pkm);
|
||||
if (!Legality.Parsed || !Legality.Native || HaX)
|
||||
if (!Legality.Parsed || HaX)
|
||||
{
|
||||
PB_Legal.Visible = false;
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue