PKHeX/PKHeX.Core/Legality/LegalityAnalyzers.cs
Kurt 0ffb256052 Add slot source legality checks
Useful for save files with misplaced data (you really have to be using the program weirdly to get these flagged).
Stuff like Eggs deposited in Daycare, non-fuseable species in the Fused slots, etc.

Allow HaX to view any slot, & Delete if Set is allowed
2024-06-15 00:14:49 -05:00

40 lines
2 KiB
C#

namespace PKHeX.Core;
/// <summary>
/// Collection of analyzers that are used for parsing secondary details.
/// </summary>
internal static class LegalityAnalyzers
{
public static readonly LanguageVerifier LanguageIndex = new();
public static readonly NicknameVerifier Nickname = new();
public static readonly EffortValueVerifier EVs = new();
public static readonly IndividualValueVerifier IVs = new();
public static readonly BallVerifier BallIndex = new();
public static readonly FormVerifier FormValues = new();
public static readonly ConsoleRegionVerifier ConsoleRegion = new();
public static readonly AbilityVerifier AbilityValues = new();
public static readonly MedalVerifier Medal = new();
public static readonly RibbonVerifier Ribbon = new();
public static readonly ItemVerifier Item = new();
public static readonly GroundTileVerifier Gen4GroundTile = new();
public static readonly HyperTrainingVerifier HyperTraining = new();
public static readonly GenderVerifier GenderValues = new();
public static readonly PIDVerifier PIDEC = new();
public static readonly CXDVerifier CXD = new();
public static readonly MemoryVerifier Memory = new();
public static readonly HistoryVerifier History = new();
public static readonly ContestStatVerifier Contest = new();
public static readonly MarkingVerifier Marking = new();
public static readonly MovePPVerifier MovePP = new();
public static readonly TrainerNameVerifier Trainer = new();
public static readonly TrainerIDVerifier TrainerID = new();
public static readonly LevelVerifier Level = new();
public static readonly MiscVerifier MiscValues = new();
public static readonly TransferVerifier Transfer = new();
public static readonly MarkVerifier Mark = new();
public static readonly LegendsArceusVerifier Arceus = new();
public static readonly AwakenedValueVerifier Awakening = new();
public static readonly TrashByteVerifier Trash = new();
public static readonly SlotTypeVerifier SlotType = new();
}