mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 05:38:45 -05:00
Fix for uncaught numeric parse exception
This commit is contained in:
@@ -659,7 +659,7 @@ private void change255(object sender, EventArgs e)
|
||||
{
|
||||
MaskedTextBox box = sender as MaskedTextBox;
|
||||
if (box.Text == "") box.Text = "0";
|
||||
if (int.Parse(box.Text) > 255) box.Text = "255";
|
||||
if (Util.ToInt32(box.Text) > 255) box.Text = "255";
|
||||
}
|
||||
private int psssatoffset = 0x23800;
|
||||
private void changeStat(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user