public bool evolve(Player x)
 {
     if (x.ItemExist(nature_type))
     {
         if ((species_rank + 1) < PokeDex.Instance.evolve_dex[species].Length)
         {
             species_rank += 1;
             name          = PokeDex.Instance.evolve_dex[species][species_rank];
             PokeDex.PokeDetail temp = PokeDex.Instance.poke_detail[name];
             maxhp = temp.HP + (lv - 1) * 2;
             atk   = temp.ATK;
             def   = temp.DEF;
             hp    = maxhp;
             return(true);
         }
         else
         {
             x.ItemPicked(nature_type);
             return(true);
         }
     }
     else
     {
         return(false);
     }
 }
 public Pokemon(string nameX)
 {
     lv = 1;
     PokeDex.PokeDetail temp = PokeDex.Instance.poke_detail[nameX];
     nature_type = temp.NATURE_TYPE;
     name        = nameX;
     maxhp       = temp.HP;
     hp          = maxhp;
     atk         = temp.ATK;
     //Console.WriteLine(atk);
     def          = temp.DEF;
     species      = temp.SPECIES;
     species_rank = Array.IndexOf(PokeDex.Instance.evolve_dex[species], name);
     skills       = new List <string>();
     skills.Add("Normal_Attack");
 }