diff --git a/PKX/f3-MemoryAmie.cs b/PKX/f3-MemoryAmie.cs index 2c0d13400..af279449d 100644 --- a/PKX/f3-MemoryAmie.cs +++ b/PKX/f3-MemoryAmie.cs @@ -388,7 +388,7 @@ private string getMemoryString(ComboBox m, ComboBox arg, ComboBox q, ComboBox f, { string result = ""; string nn = m_parent.TB_Nickname.Text; - string a = ((Util.cbItem)(arg.SelectedItem)).Text; + string a = ((Util.cbItem)(arg.SelectedItem) == null) ? arg.Text ?? "ERROR" : ((Util.cbItem)(arg.SelectedItem)).Text; int mem = Util.getIndex(m); bool enabled = false;