Uncap low end of purification meter

apparently values can be -100 (colo) and -1 on xd...?
This commit is contained in:
Kurt 2017-10-26 17:55:34 -07:00
parent 00a4c1adf5
commit 02cfeef4cd

View File

@ -112,6 +112,7 @@ private void InitializeComponent()
this.CHK_Shadow = new System.Windows.Forms.CheckBox();
this.FLP_ShinyLeaf = new System.Windows.Forms.FlowLayoutPanel();
this.L_ShinyLeaf = new System.Windows.Forms.Label();
this.ShinyLeaf = new PKHeX.WinForms.Controls.ShinyLeaf();
this.Tab_Met = new System.Windows.Forms.TabPage();
this.CHK_AsEgg = new System.Windows.Forms.CheckBox();
this.GB_EggConditions = new System.Windows.Forms.GroupBox();
@ -147,6 +148,7 @@ private void InitializeComponent()
this.L_MetTimeOfDay = new System.Windows.Forms.Label();
this.CB_MetTimeOfDay = new System.Windows.Forms.ComboBox();
this.Tab_Stats = new System.Windows.Forms.TabPage();
this.Contest = new PKHeX.WinForms.Controls.ContestStat();
this.FLP_Stats = new System.Windows.Forms.FlowLayoutPanel();
this.FLP_StatHeader = new System.Windows.Forms.FlowLayoutPanel();
this.FLP_HackedStats = new System.Windows.Forms.FlowLayoutPanel();
@ -272,8 +274,6 @@ private void InitializeComponent()
this.Label_SID = new System.Windows.Forms.Label();
this.Label_TID = new System.Windows.Forms.Label();
this.Label_EncryptionConstant = new System.Windows.Forms.Label();
this.ShinyLeaf = new PKHeX.WinForms.Controls.ShinyLeaf();
this.Contest = new PKHeX.WinForms.Controls.ContestStat();
this.tabMain.SuspendLayout();
this.Tab_Main.SuspendLayout();
this.FLP_Main.SuspendLayout();
@ -1354,6 +1354,11 @@ private void InitializeComponent()
0,
0,
0});
this.NUD_Purification.Minimum = new decimal(new int[] {
100,
0,
0,
-2147483648});
this.NUD_Purification.Name = "NUD_Purification";
this.NUD_Purification.Size = new System.Drawing.Size(51, 20);
this.NUD_Purification.TabIndex = 103;
@ -1394,6 +1399,15 @@ private void InitializeComponent()
this.L_ShinyLeaf.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.L_ShinyLeaf.Click += new System.EventHandler(this.ClickShinyLeaf);
//
// ShinyLeaf
//
this.ShinyLeaf.Location = new System.Drawing.Point(110, 0);
this.ShinyLeaf.Margin = new System.Windows.Forms.Padding(0);
this.ShinyLeaf.Name = "ShinyLeaf";
this.ShinyLeaf.Size = new System.Drawing.Size(140, 56);
this.ShinyLeaf.TabIndex = 116;
this.ShinyLeaf.Value = 0;
//
// Tab_Met
//
this.Tab_Met.AllowDrop = true;
@ -1801,6 +1815,20 @@ private void InitializeComponent()
this.Tab_Stats.Text = "Stats";
this.Tab_Stats.UseVisualStyleBackColor = true;
//
// Contest
//
this.Contest.Beauty = 0;
this.Contest.Cool = 0;
this.Contest.Cute = 0;
this.Contest.Location = new System.Drawing.Point(21, 247);
this.Contest.Margin = new System.Windows.Forms.Padding(0);
this.Contest.Name = "Contest";
this.Contest.Sheen = 0;
this.Contest.Size = new System.Drawing.Size(230, 50);
this.Contest.Smart = 0;
this.Contest.TabIndex = 117;
this.Contest.Tough = 0;
//
// FLP_Stats
//
this.FLP_Stats.Controls.Add(this.FLP_StatHeader);
@ -3327,29 +3355,6 @@ private void InitializeComponent()
this.Label_EncryptionConstant.Text = "Encryption Constant:";
this.Label_EncryptionConstant.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// ShinyLeaf
//
this.ShinyLeaf.Location = new System.Drawing.Point(110, 0);
this.ShinyLeaf.Margin = new System.Windows.Forms.Padding(0);
this.ShinyLeaf.Name = "ShinyLeaf";
this.ShinyLeaf.Size = new System.Drawing.Size(140, 56);
this.ShinyLeaf.TabIndex = 116;
this.ShinyLeaf.Value = 0;
//
// Contest
//
this.Contest.Beauty = 0;
this.Contest.Cool = 0;
this.Contest.Cute = 0;
this.Contest.Location = new System.Drawing.Point(21, 247);
this.Contest.Margin = new System.Windows.Forms.Padding(0);
this.Contest.Name = "Contest";
this.Contest.Sheen = 0;
this.Contest.Size = new System.Drawing.Size(230, 50);
this.Contest.Smart = 0;
this.Contest.TabIndex = 117;
this.Contest.Tough = 0;
//
// PKMEditor
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;