Ejemplo n.º 1
0
        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];
            }
        }