From 4072f0d2cac8ce9bbc58db0cdc7e7432f4aab650 Mon Sep 17 00:00:00 2001 From: ReignOfComputer Date: Mon, 27 Feb 2017 00:08:28 +0800 Subject: [PATCH] Shortcut Max Level IMO this is useful, for your consideration :) --- PKHeX.WinForms/MainWindow/Main.Designer.cs | 1 + PKHeX.WinForms/MainWindow/Main.cs | 9 +++++++++ PKHeX/Resources/text/shortcuts.txt | 1 + 3 files changed, 11 insertions(+) diff --git a/PKHeX.WinForms/MainWindow/Main.Designer.cs b/PKHeX.WinForms/MainWindow/Main.Designer.cs index 0ccc901dd..aa098b9d1 100644 --- a/PKHeX.WinForms/MainWindow/Main.Designer.cs +++ b/PKHeX.WinForms/MainWindow/Main.Designer.cs @@ -938,6 +938,7 @@ this.TB_Level.Size = new System.Drawing.Size(22, 20); this.TB_Level.TabIndex = 8; this.TB_Level.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.TB_Level.Click += new System.EventHandler(this.clickLevel); this.TB_Level.TextChanged += new System.EventHandler(this.updateEXPLevel); // // MT_Level diff --git a/PKHeX.WinForms/MainWindow/Main.cs b/PKHeX.WinForms/MainWindow/Main.cs index 3dc283f48..17d7bd5b7 100644 --- a/PKHeX.WinForms/MainWindow/Main.cs +++ b/PKHeX.WinForms/MainWindow/Main.cs @@ -1714,6 +1714,15 @@ namespace PKHeX.WinForms else TB_Friendship.Text = TB_Friendship.Text == "255" ? SAV.Personal[pkm.Species].BaseFriendship.ToString() : "255"; } + + private void clickLevel(object sender, EventArgs e) + { + if (ModifierKeys == Keys.Control) + { + ((MaskedTextBox)sender).Text = "100"; + } + } + private void clickGender(object sender, EventArgs e) { // Get Gender Threshold diff --git a/PKHeX/Resources/text/shortcuts.txt b/PKHeX/Resources/text/shortcuts.txt index 46c582466..7195fe319 100644 --- a/PKHeX/Resources/text/shortcuts.txt +++ b/PKHeX/Resources/text/shortcuts.txt @@ -24,6 +24,7 @@ Control + Click on... - Randomize EVs: Set all EVs to 0. - PP Ups Label: Set all PP Ups to 0. (Click = 3) - Friendship Label: Set Friendship to 0. (Click = 255 or Base) +- Level box: Set Level to 100. Alt + Click on... - Preview Sprite to load from a QR url on your clipboard.