level int -> byte

Might refactor the learnset level get to byte later as a TryGet so -1 is never returned.
This commit is contained in:
Kurt
2025-05-17 14:45:49 -05:00
parent 6b7938fea1
commit 7442e86d65
43 changed files with 142 additions and 142 deletions

View File

@@ -564,7 +564,7 @@ private SearchSettings GetSearchSettings()
BatchInstructions = RTB_Instructions.Text,
Level = int.TryParse(TB_Level.Text, out var lvl) ? lvl : null,
Level = byte.TryParse(TB_Level.Text, out var lvl) ? lvl : null,
SearchLevel = (SearchComparison)CB_Level.SelectedIndex,
EVType = CB_EVTrain.SelectedIndex,
IVType = CB_IV.SelectedIndex,