diff --git a/pk3DS/Subforms/Personal.Designer.cs b/pk3DS/Subforms/Personal.Designer.cs index ed92cf1..2384646 100644 --- a/pk3DS/Subforms/Personal.Designer.cs +++ b/pk3DS/Subforms/Personal.Designer.cs @@ -1000,9 +1000,9 @@ private void InitializeComponent() this.CHK_EXP.AutoSize = true; this.CHK_EXP.Location = new System.Drawing.Point(6, 66); this.CHK_EXP.Name = "CHK_EXP"; - this.CHK_EXP.Size = new System.Drawing.Size(114, 17); + this.CHK_EXP.Size = new System.Drawing.Size(107, 17); this.CHK_EXP.TabIndex = 7; - this.CHK_EXP.Text = "Reduce EXP Yield"; + this.CHK_EXP.Text = "Modify EXP Yield"; this.CHK_EXP.UseVisualStyleBackColor = true; // // CHK_Growth @@ -1039,6 +1039,11 @@ private void InitializeComponent() // NUD_EXP // this.NUD_EXP.Location = new System.Drawing.Point(69, 84); + this.NUD_EXP.Maximum = new decimal(new int[] { + 300, + 0, + 0, + 0}); this.NUD_EXP.Name = "NUD_EXP"; this.NUD_EXP.Size = new System.Drawing.Size(46, 20); this.NUD_EXP.TabIndex = 5; @@ -1409,7 +1414,7 @@ private void InitializeComponent() // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(469, 417); + this.ClientSize = new System.Drawing.Size(469, 416); this.Controls.Add(this.B_Dump); this.Controls.Add(this.PB_MonSprite); this.Controls.Add(this.TC_Pokemon); diff --git a/pk3DS/Subforms/Personal.cs b/pk3DS/Subforms/Personal.cs index 04fc5e1..04966d2 100644 --- a/pk3DS/Subforms/Personal.cs +++ b/pk3DS/Subforms/Personal.cs @@ -455,7 +455,7 @@ private void B_ModifyAll(object sender, EventArgs e) if (CHK_Growth.Checked) CB_EXPGroup.SelectedIndex = 5; if (CHK_EXP.Checked) - TB_BaseExp.Text = (Convert.ToUInt16(TB_BaseExp.Text) / (100 / NUD_EXP.Value)).ToString("000"); + TB_BaseExp.Text = ((float)NUD_EXP.Value*(Convert.ToUInt16(TB_BaseExp.Text)/100f)).ToString("000"); if (CHK_QuickHatch.Checked) TB_HatchCycles.Text = 1.ToString();