From f630ad8271224428ede0ed1fe929fbf446bac670 Mon Sep 17 00:00:00 2001 From: Kurt Date: Wed, 17 Apr 2024 00:44:31 -0500 Subject: [PATCH] Add setting to hide status condition view Likely will be moved to the bottom right corner and shown with a language-less sprite. Feature preview on main :) --- PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs | 1 + PKHeX.WinForms/Properties/PKHeXSettings.cs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs b/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs index 10297bd60..0cb391096 100644 --- a/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs +++ b/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs @@ -1933,6 +1933,7 @@ public sealed partial class PKMEditor : UserControl, IMainEditor Contest.ToggleInterface(Entity, Entity.Context); if (t is not IFormArgument) L_FormArgument.Visible = false; + StatusView.Visible = Main.Settings.EntityEditor.ShowStatusCondition; ToggleInterface(Entity.Format); } diff --git a/PKHeX.WinForms/Properties/PKHeXSettings.cs b/PKHeX.WinForms/Properties/PKHeXSettings.cs index 76d562290..afdff12e7 100644 --- a/PKHeX.WinForms/Properties/PKHeXSettings.cs +++ b/PKHeX.WinForms/Properties/PKHeXSettings.cs @@ -310,6 +310,9 @@ public sealed class EntityEditorSettings [LocalizedDescription("When showing a Generation 1 format entity, show the gender it would have if transferred to other generations.")] public bool ShowGenderGen1 { get; set; } + + [LocalizedDescription("When showing an entity, show any stored Status Condition (Sleep/Burn/etc) it may have.")] + public bool ShowStatusCondition { get; set; } = true; } public sealed class EncounterDatabaseSettings