Merge pull request #893 from ReignOfComputer/shortcut-max-level

Shortcut Max Level
This commit is contained in:
Kaphotics 2017-02-26 09:00:16 -08:00 committed by GitHub
commit d811655239
3 changed files with 11 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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.