Minor fix

Pokerus days will no longer cause errors
This commit is contained in:
Kurt
2015-04-04 20:45:29 -07:00
parent 23a7faea86
commit 330fe29055
2 changed files with 2 additions and 2 deletions

View File

@@ -1126,7 +1126,7 @@ private void populateFields(byte[] data)
// Set SelectedIndexes for PKRS
CB_PKRSStrain.SelectedIndex = PKRS_Strain;
CHK_Cured.Checked = (PKRS_Strain > 0 && PKRS_Duration == 0);
CB_PKRSDays.SelectedIndex = Math.Min(CB_PKRSStrain.Items.Count - 1, PKRS_Duration); // to strip out bad hacked 'rus
CB_PKRSDays.SelectedIndex = Math.Min(CB_PKRSDays.Items.Count - 1, PKRS_Duration); // to strip out bad hacked 'rus
TB_Cool.Text = cnt_cool.ToString();
TB_Beauty.Text = cnt_beauty.ToString();

View File

@@ -491,7 +491,7 @@ http://projectpokemon.org/forums/showthread.php?36986
- Added: Boot Status to help debug some users being stuck on the splash screen.
- Added: Event Constant editing to Event Flag window.
3/1/15 - New Update: (14140)
3/1/15 - New Update: (100000)
- Added: QR Code Generation; click "QR!" and a QR window will appear with a scannable image. Requires an active internet connection.
- Added: QR Code to Tabs; hold ALT when clicking "QR!" after copying the URL of the QR to your clipboard (CTRL-C). Requires internet.
- Added: Decrypted Battle Video scraping for ek6 data; battle stats are not kept.