mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 00:48:49 -05:00
Add preliminary VC2 legality checking
Surprisingly easy to toggle on If VC, provide possible version the encounter was matched to (to indicate GS vs RBY).
This commit is contained in:
@@ -73,7 +73,7 @@ public LegalityAnalysis(PKM pk)
|
||||
case 5: ParsePK5(pk); break;
|
||||
case 6: ParsePK6(pk); break;
|
||||
|
||||
case 1: ParsePK7(pk); break;
|
||||
case 1: case 2:
|
||||
case 7: ParsePK7(pk); break;
|
||||
}
|
||||
|
||||
@@ -344,6 +344,8 @@ private string GetVerboseLegalityReport()
|
||||
|
||||
lines.AddRange(br);
|
||||
lines.Add(string.Format(V195, EncounterName));
|
||||
if (pkm.VC)
|
||||
lines.Add(string.Format(V196, nameof(GameVersion), Info.Game));
|
||||
var pidiv = Info.PIDIV ?? MethodFinder.Analyze(pkm);
|
||||
if (pidiv != null)
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ public static partial class Legal
|
||||
/// <summary>Setting to specify if an analysis should permit data sourced from the physical cartridge era of GameBoy games.</summary>
|
||||
public static bool AllowGBCartEra { get; set; }
|
||||
public static bool AllowGen1Tradeback { get; set; }
|
||||
public static bool AllowGen2VCTransfer => AllowGen1Tradeback;
|
||||
public static bool AllowGen2VCTransfer => true;
|
||||
public static bool AllowGen2VCCrystal => false;
|
||||
public static bool AllowGen2Crystal => AllowGBCartEra || AllowGen2VCCrystal;
|
||||
public static bool AllowGen2MoveReminder => AllowGBCartEra;
|
||||
|
||||
Reference in New Issue
Block a user