diff --git a/PKHeX.Core/Editing/Saves/Editors/EventWork/EventWorkDiff.cs b/PKHeX.Core/Editing/Saves/Editors/EventWork/EventWorkDiff.cs index 52ff343a9..89669d4ae 100644 --- a/PKHeX.Core/Editing/Saves/Editors/EventWork/EventWorkDiff.cs +++ b/PKHeX.Core/Editing/Saves/Editors/EventWork/EventWorkDiff.cs @@ -152,7 +152,7 @@ public IReadOnlyList Summarize() private readonly record struct FlagSummary(EventVarType Type, int Index, int Raw) { public override string ToString() => $"{Raw:0000}\t{false}\t{Index:0000}\t{Type}"; - + public static FlagSummary Get(int rawIndex, EventWork7b ew) { var type = ew.GetFlagType(rawIndex, out var subIndex); diff --git a/PKHeX.Core/Legality/Core.cs b/PKHeX.Core/Legality/Core.cs index 8031edb2f..1a0aad099 100644 --- a/PKHeX.Core/Legality/Core.cs +++ b/PKHeX.Core/Legality/Core.cs @@ -151,7 +151,7 @@ internal static int GetMaxSpeciesOrigin(PKM pkm) internal static bool HasVisitedBDSP(this PKM pkm, int species) { - if (!pkm.InhabitedGeneration(8, species)) + if (!pkm.InhabitedGeneration(8, species)) return false; if (pkm.BDSP) return true;