Ejemplo n.º 1
0
        private void setList()
        {
            if (entry < 1 || dumping)
            {
                return;
            }

            for (int i = 0; i < 8; i++)
            {
                evo.PossibleEvolutions[i].Method   = mb[i].SelectedIndex;
                evo.PossibleEvolutions[i].Argument = pb[i].SelectedIndex;
                evo.PossibleEvolutions[i].Species  = rb[i].SelectedIndex;
            }
            files[entry] = evo.Write();
        }
Ejemplo n.º 2
0
        private void SetList()
        {
            if (entry < 1 || dumping)
            {
                return;
            }

            for (int i = 0; i < 8; i++)
            {
                evo.PossibleEvolutions[i].Species  = rb[i].SelectedIndex;
                evo.PossibleEvolutions[i].Method   = mb[i].SelectedIndex;
                evo.PossibleEvolutions[i].Argument = pb[i].SelectedIndex;
                evo.PossibleEvolutions[i].Form     = (sbyte)fb[i].Value;
                evo.PossibleEvolutions[i].Level    = (int)lb[i].Value;
            }
            files[entry] = evo.Write();
        }