Example #1
0
        static void makePokemon()
        {
            MoveSet moves = new MoveSet(Stone_Edge, Swords_Dance, Focus_Blast, Fire_Punch);

            Blaziken = new Pokemon("Blaziken", 80, 120, 110, 70, 70, 80, moves, Fire, Fighting, "Speed Boost");
            moves    = new MoveSet(Swords_Dance, Shadow_Claw, Play_Rough, Shadow_Sneak);
            Mimikyu  = new Pokemon("Mimikyu", 55, 90, 50, 60, 105, 96, moves, Ghost, Fairy, "Disguise");
        }
 // Two-type pokemon
 public Pokemon(string name, int hp, int atk, int spAtk, int def, int spDef, int speed, MoveSet moves, Type type1, Type type2, string ability = "")
 {
     this.name      = name;
     this.hp        = hp;
     attack         = atk;
     specialAttack  = spAtk;
     defense        = def;
     specialDefense = spDef;
     this.speed     = speed;
     this.moves     = moves;
     firstType      = type1;
     secondType     = type2;
     this.ability   = ability;
 }