diff --git a/PKHeX.WinForms/Subforms/Save Editors/SAV_EventFlags.cs b/PKHeX.WinForms/Subforms/Save Editors/SAV_EventFlags.cs index 3617bb52a..2c158c6ea 100644 --- a/PKHeX.WinForms/Subforms/Save Editors/SAV_EventFlags.cs +++ b/PKHeX.WinForms/Subforms/Save Editors/SAV_EventFlags.cs @@ -424,6 +424,12 @@ namespace PKHeX.WinForms Console.Write(e); } + if (string.IsNullOrEmpty(r)) + { + WinFormsUtil.Alert("No Event Constant diff found."); + return; + } + if (DialogResult.Yes != WinFormsUtil.Prompt(MessageBoxButtons.YesNo, "Copy Event Constant diff to clipboard?")) return; Clipboard.SetText(r);