private void getList() { entry = Array.IndexOf(specieslist, CB_Species.Text); byte[] input = files[entry]; if (input.Length != EvolutionSet7.SIZE) { return; // error } evo = new EvolutionSet7(input); for (int i = 0; i < evo.PossibleEvolutions.Length; i++) { if (evo.PossibleEvolutions[i].Method > 39) { return; // Invalid! } loading = true; fb[i].Value = evo.PossibleEvolutions[i].Form; lb[i].Value = evo.PossibleEvolutions[i].Level; mb[i].SelectedIndex = evo.PossibleEvolutions[i].Method; // Which will trigger the params cb to reload the valid params list pb[i].SelectedIndex = evo.PossibleEvolutions[i].Argument; rb[i].SelectedIndex = evo.PossibleEvolutions[i].Species; // Triggers sprite to reload loading = false; changeInto(rb[i], null); // refresh sprite } }
private void getList() { entry = Array.IndexOf(specieslist, CB_Species.Text); byte[] input = files[entry]; if (input.Length != EvolutionSet6.SIZE) { return; // error } evo = new EvolutionSet6(input); for (int i = 0; i < evo.PossibleEvolutions.Length; i++) { if (evo.PossibleEvolutions[i].Method > 34) { return; // Invalid! } mb[i].SelectedIndex = evo.PossibleEvolutions[i].Method; // Which will trigger the params cb to reload the valid params list pb[i].SelectedIndex = evo.PossibleEvolutions[i].Argument; rb[i].SelectedIndex = evo.PossibleEvolutions[i].Species; } }
private void getList() { entry = Array.IndexOf(specieslist, CB_Species.Text); byte[] input = files[entry]; if (input.Length != EvolutionSet6.SIZE) return; // error evo = new EvolutionSet6(input); for (int i = 0; i < evo.PossibleEvolutions.Length; i++) { if (evo.PossibleEvolutions[i].Method > 34) return; // Invalid! mb[i].SelectedIndex = evo.PossibleEvolutions[i].Method; // Which will trigger the params cb to reload the valid params list pb[i].SelectedIndex = evo.PossibleEvolutions[i].Argument; rb[i].SelectedIndex = evo.PossibleEvolutions[i].Species; } }
private void getList() { entry = Array.IndexOf(specieslist, CB_Species.Text); byte[] input = files[entry]; if (input.Length != EvolutionSet7.SIZE) return; // error evo = new EvolutionSet7(input); for (int i = 0; i < evo.PossibleEvolutions.Length; i++) { if (evo.PossibleEvolutions[i].Method > 39) return; // Invalid! loading = true; fb[i].Value = evo.PossibleEvolutions[i].Form; lb[i].Value = evo.PossibleEvolutions[i].Level; mb[i].SelectedIndex = evo.PossibleEvolutions[i].Method; // Which will trigger the params cb to reload the valid params list pb[i].SelectedIndex = evo.PossibleEvolutions[i].Argument; rb[i].SelectedIndex = evo.PossibleEvolutions[i].Species; // Triggers sprite to reload loading = false; changeInto(rb[i], null); // refresh sprite } }