diff --git a/PKHeX.Core/Legality/Bulk/BulkAnalysis.cs b/PKHeX.Core/Legality/Bulk/BulkAnalysis.cs index 6c96f11d7..df3fc3202 100644 --- a/PKHeX.Core/Legality/Bulk/BulkAnalysis.cs +++ b/PKHeX.Core/Legality/Bulk/BulkAnalysis.cs @@ -163,7 +163,6 @@ public void AddExternal(SlotCache first, CheckIdentifier id, int index1, ushort public void AddExternal(SlotCache first, SlotCache second, CheckIdentifier id, int index1, int index2, ushort identity, ushort argument = 0, Severity s = Severity.Invalid) => AddLine(first, second, id, index1, index2, LegalityCheckResultCode.External, identity, argument, s); - private static LegalityAnalysis[] GetIndividualAnalysis(ReadOnlySpan list) { var result = new LegalityAnalysis[list.Length]; diff --git a/PKHeX.Core/Legality/RNG/Util/ShinyUtil.cs b/PKHeX.Core/Legality/RNG/Util/ShinyUtil.cs index 2d6e9b9ff..b9b9b4298 100644 --- a/PKHeX.Core/Legality/RNG/Util/ShinyUtil.cs +++ b/PKHeX.Core/Legality/RNG/Util/ShinyUtil.cs @@ -30,7 +30,6 @@ public static uint GetShinyPID(in ushort tid, in ushort sid, in uint pid, in uin [MethodImpl(MethodImplOptions.AggressiveInlining)] public static bool GetIsShiny6(in uint id32, in uint pid) => GetShinyXor(id32, pid) < 16; - /// /// Checks if the PID is shiny using criteria from Generation 3-5. /// diff --git a/PKHeX.Core/Legality/Verifiers/LegendsZAVerifier.cs b/PKHeX.Core/Legality/Verifiers/LegendsZAVerifier.cs index ecaaa7a42..466a1605f 100644 --- a/PKHeX.Core/Legality/Verifiers/LegendsZAVerifier.cs +++ b/PKHeX.Core/Legality/Verifiers/LegendsZAVerifier.cs @@ -139,7 +139,6 @@ private void CheckFlagsTM(LegalityAnalysis data, PA9 pa9) } } - private void CheckFlagsPlus(LegalityAnalysis la, PA9 pk) { var permit = (IPermitPlus)la.PersonalInfo; @@ -153,7 +152,6 @@ private void CheckFlagsPlus(LegalityAnalysis la, PA9 pk) var currentLevel = pk.CurrentLevel; CheckPlusMoveFlags(la, pk, permit, plus, currentLevel); - // Check for indexes set that cannot be set via TM or NPC. int max = permit.PlusCountUsed; var evos = la.Info.EvoChainsAllGens.Gen9a; diff --git a/PKHeX.Core/Legality/Verifiers/MovePPVerifier.cs b/PKHeX.Core/Legality/Verifiers/MovePPVerifier.cs index aa0fd9be9..fca065798 100644 --- a/PKHeX.Core/Legality/Verifiers/MovePPVerifier.cs +++ b/PKHeX.Core/Legality/Verifiers/MovePPVerifier.cs @@ -47,7 +47,6 @@ private void VerifyEntity(LegalityAnalysis data) ReadOnlySpan moves = [pk.Move1, pk.Move2, pk.Move3, pk.Move4]; ReadOnlySpan pp = [pk.Move1_PP, pk.Move2_PP, pk.Move3_PP, pk.Move4_PP]; - if (!Legal.IsPPUpAvailable(pk)) // No PP Ups for format { for (int i = 0; i < ups.Length; i++) diff --git a/PKHeX.Core/Saves/Access/SaveBlockAccessor9ZA.cs b/PKHeX.Core/Saves/Access/SaveBlockAccessor9ZA.cs index b878a50e4..09232c11f 100644 --- a/PKHeX.Core/Saves/Access/SaveBlockAccessor9ZA.cs +++ b/PKHeX.Core/Saves/Access/SaveBlockAccessor9ZA.cs @@ -86,7 +86,6 @@ public sealed class SaveBlockAccessor9ZA(SAV9ZA sav) : SCBlockAccessor private const uint KObstruction = 0x4C26C29B; // (u64, u64-state, u64-unused)[2000] private const uint KFieldObjectInteractable = 0x7147C953; // (u64,u64,u64,value)[5000] (mega crystal, prize medals) - public const uint KTicketPointsZARoyale = 0x9A730DE1; // u32 public const uint KTicketPointsZARoyaleInfinite = 0x1D7EE369; // u32 diff --git a/PKHeX.Core/Saves/SAV1.cs b/PKHeX.Core/Saves/SAV1.cs index 5d39b7c8d..76c1e9e15 100644 --- a/PKHeX.Core/Saves/SAV1.cs +++ b/PKHeX.Core/Saves/SAV1.cs @@ -589,7 +589,6 @@ public override int LoadString(ReadOnlySpan data, Span destBuffer) public override int SetString(Span destBuffer, ReadOnlySpan value, int maxLength, StringConverterOption option) => StringConverter1.SetString(destBuffer, value, maxLength, Japanese, option); - public static bool IsYellow(ReadOnlySpan data, bool japanese) => japanese ? IsYellowJPN(data) : IsYellowINT(data); public static bool IsYellowINT(ReadOnlySpan data) => IsYellow(data[0x29C3], data[0x271C]); public static bool IsYellowJPN(ReadOnlySpan data) => IsYellow(data[0x29B9], data[0x2712]); diff --git a/PKHeX.WinForms/Settings/PKHeXSettings.cs b/PKHeX.WinForms/Settings/PKHeXSettings.cs index 47d4fb255..32009b451 100644 --- a/PKHeX.WinForms/Settings/PKHeXSettings.cs +++ b/PKHeX.WinForms/Settings/PKHeXSettings.cs @@ -48,7 +48,6 @@ public sealed class PKHeXSettings : IProgramSettings [Browsable(false)] public SlotExportSettings SlotExport { get; set; } = new(); - [Browsable(false), JsonIgnore] IStartupSettings IProgramSettings.Startup => Startup; diff --git a/PKHeX.WinForms/Subforms/Save Editors/Gen9/SAV_Fashion9.cs b/PKHeX.WinForms/Subforms/Save Editors/Gen9/SAV_Fashion9.cs index 78ff7f7ff..4ebc6091e 100644 --- a/PKHeX.WinForms/Subforms/Save Editors/Gen9/SAV_Fashion9.cs +++ b/PKHeX.WinForms/Subforms/Save Editors/Gen9/SAV_Fashion9.cs @@ -161,7 +161,6 @@ private IFashionBlockEditor GetEditor(TabPage selectedTab) } } - public IFashionBlockEditor Create(SCBlockAccessor accesor, uint blockLoc, string name, bool hair = false) { var tab = GetTab(name); diff --git a/PKHeX.WinForms/Subforms/Save Editors/Gen9/SAV_FlagWork9a.cs b/PKHeX.WinForms/Subforms/Save Editors/Gen9/SAV_FlagWork9a.cs index 2a14b6201..fbfb89e9e 100644 --- a/PKHeX.WinForms/Subforms/Save Editors/Gen9/SAV_FlagWork9a.cs +++ b/PKHeX.WinForms/Subforms/Save Editors/Gen9/SAV_FlagWork9a.cs @@ -75,7 +75,6 @@ private void B_Save_Click(object sender, EventArgs e) Close(); } - private void ChangeSAV() { if (TB_NewSAV.Text.Length != 0 && TB_OldSAV.Text.Length != 0) diff --git a/PKHeX.WinForms/Util/DevUtil.cs b/PKHeX.WinForms/Util/DevUtil.cs index ae0e05aff..4d41a0704 100644 --- a/PKHeX.WinForms/Util/DevUtil.cs +++ b/PKHeX.WinForms/Util/DevUtil.cs @@ -127,7 +127,6 @@ private static void DisplayPluginList(List plugins) text.AppendLine($"- {p.Plugin.Name}"); } - WinFormsUtil.Alert(text.ToString()); }