From e6fd8560ee0da364b07ef241bc5ecf1f93df87a2 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 31 Mar 2019 16:59:01 -0700 Subject: [PATCH] Only show reset key value for int/ko saves https://github.com/kwsch/PKHeX/commit/e1a3c8edb3e823ca37b7d2292b66647bc15e4df7#commitcomment-32979627 --- PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs b/PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs index b1a59642c..43217a11e 100644 --- a/PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs +++ b/PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs @@ -637,7 +637,10 @@ private void B_OpenRTCEditor_Click(object sender, EventArgs e) { case 2: var sav2 = ((SAV2) SAV); - var dr = WinFormsUtil.Prompt(MessageBoxButtons.YesNo, string.Format(MsgSaveGen2RTCResetPassword, sav2.ResetKey), MsgSaveGen2RTCResetBitflag); + var msg = MsgSaveGen2RTCResetBitflag; + if (!sav2.Japanese) // show Reset Key for non-Japanese saves + msg = string.Format(MsgSaveGen2RTCResetPassword, sav2.ResetKey) + Environment.NewLine + Environment.NewLine + msg; + var dr = WinFormsUtil.Prompt(MessageBoxButtons.YesNo, msg); if (dr == DialogResult.Yes) sav2.ResetRTC(); break;