private void GetEntry() { if (!loaded) { return; } if (Main.Config.ORAS && entry == 384 && !dumping) // Current Mon is Rayquaza { WinFormsUtil.Alert("Rayquaza is special and uses a different activator for its evolution. If it knows Dragon Ascent, it can Mega Evolve", "Don't edit its evolution table if you want to keep this functionality."); } byte[] data = files[entry]; foreach (ComboBox CB in forme_spec) { FormUtil.SetForms(entry, CB, AltForms); } me = new MegaEvolutions(data); for (int i = 0; i < 3; i++) { checkbox_spec[i].Checked = me.Method[i] == 1; item_spec[i].SelectedValue = (int)me.Argument[i]; forme_spec[i].SelectedIndex = me.Form[i]; } }
private void getEntry() { if (!loaded) return; if (Main.Config.ORAS && entry == 384 && !dumping) // Current Mon is Rayquaza Util.Alert("Rayquaza is special and uses a different activator for its evolution. If it knows Dragon Ascent, it can Mega Evolve", "Don't edit its evolution table if you want to keep this functionality."); byte[] data = files[entry]; foreach (ComboBox CB in forme_spec) FormUtil.setForms(entry, CB, AltForms); me = new MegaEvolutions(data); for (int i = 0; i < 2; i++) { checkbox_spec[i].Checked = me.Method[i] == 1; item_spec[i].SelectedValue = (int)me.Argument[i]; forme_spec[i].SelectedIndex = me.Form[i]; } }