public Pokemon(string Names, int HP, string Image, Attacks Attack1, Attacks Attack2, Attacks Attack3, Attacks Attack4) { hitPoints = HP; maxHitPonts = HP; name = Names; imagePath = Image; attackONE = Attack1; attackTWO = Attack2; attackTHREE = Attack3; attackFOUR = Attack4; ////////////////////////////////////////////// }
private void Form1_Load(object sender, EventArgs e) { //Healer attacks are 0 damage //Speed boost attacks are 1 damage //block attacks are 2 damage //heal and speed boost is 3 damage //poison attacks are 15 damage //fire attacks are 16 damage //ATTACK ARRAY AttackList[0] = new Attacks("FireBlast", 70); AttackList[1] = new Attacks("Snarl", 50); AttackList[2] = new Attacks("Intimidate", 2); AttackList[3] = new Attacks("Justify", 70); AttackList[4] = new Attacks("Bullet Punch", 60); AttackList[5] = new Attacks("Dynamic Punch", 50); AttackList[6] = new Attacks("Close Combat", 70); AttackList[7] = new Attacks("Steadfast", 0); AttackList[8] = new Attacks("FlashFire", 16); AttackList[9] = new Attacks("Drought", 80); AttackList[10] = new Attacks("EarlyBird", 40); AttackList[11] = new Attacks("Scrappy", 60); AttackList[12] = new Attacks("InnerFocus", 3); AttackList[13] = new Attacks("Synchronize", 40); AttackList[14] = new Attacks("MagicGuard", 2); AttackList[15] = new Attacks("Blaze", 16); AttackList[16] = new Attacks("SpeedBoost", 1); AttackList[17] = new Attacks("SereneGrace", 30); AttackList[18] = new Attacks("NaturalCure", 0); AttackList[19] = new Attacks("Healer", 0); AttackList[20] = new Attacks("Levitate", 60); AttackList[21] = new Attacks("Multiscale", 80); AttackList[22] = new Attacks("AngerPoint", 60); AttackList[23] = new Attacks("SheerForce", 70); AttackList[24] = new Attacks("Stench", 15); AttackList[25] = new Attacks("StickyHold", 50); AttackList[26] = new Attacks("PoisonTouch", 15); AttackList[27] = new Attacks("Obvious", 70); AttackList[28] = new Attacks("OwnTempo", 1); AttackList[29] = new Attacks("Regenerator", 0); // If a pokemon has no attacks: AttackList[30] = new Attacks("None", 4); //POKEMON ARRAY PokemonList[0] = new Pokemon("Alakazam", 85, "Alakazam", AttackList[13], AttackList[12], AttackList[14], AttackList[30]); PokemonList[1] = new Pokemon("Arcanine", 120, "Arcanine", AttackList[0], AttackList[1], AttackList[2], AttackList[3]); PokemonList[2] = new Pokemon("Blazekin", 115, "Blazekin", AttackList[16], AttackList[15], AttackList[30], AttackList[30]); PokemonList[3] = new Pokemon("Chansey", 250, "Chansey", AttackList[17], AttackList[18], AttackList[19], AttackList[30]); PokemonList[4] = new Pokemon("Dragonite", 120, "Dragonite", AttackList[12], AttackList[21], AttackList[30], AttackList[30]); PokemonList[5] = new Pokemon("Flygon", 100, "Flygon", AttackList[20], AttackList[30], AttackList[30], AttackList[30]); PokemonList[6] = new Pokemon("Kangaskhan", 135, "Kangaskhan", AttackList[10], AttackList[11], AttackList[12], AttackList[30]); PokemonList[7] = new Pokemon("Machamp", 105, "Machamp", AttackList[4], AttackList[5], AttackList[6], AttackList[7]); PokemonList[8] = new Pokemon("Muk", 130, "Muk", AttackList[24], AttackList[25], AttackList[26], AttackList[30]); PokemonList[9] = new Pokemon("Ninetails", 90, "Ninetails", AttackList[8], AttackList[9], AttackList[30], AttackList[30]); PokemonList[10] = new Pokemon("Slowbro", 125, "Slowbro", AttackList[27], AttackList[28], AttackList[29], AttackList[30]); PokemonList[11] = new Pokemon("Tourus", 95, "Tourus", AttackList[2], AttackList[22], AttackList[23], AttackList[30]); }