public static void no(PictureBox pic, Label des, Button Right, Button Left, Characters player) { Location bevHouse = new WeapLoc(globalVar.locations[5], globalVar.weapons[9], 50, globalVar.enemies[6], 50, 10, 0.5f, globalVar.npcs[5]); Inventory.addItem(bevHouse.getItem(), player); string desc = Logic.description.describeObj(3, 5, 19, 6, 5); playerChoices.addToList(desc); pic.Image = Image.FromFile("Bev3atc.png"); des.Text = desc + "He tries to slam you into the ground. What do you do?"; Right.Visible = true; Left.Visible = true; Right.Text = "Attack with a weapon"; Left.Text = "Escape"; Right.Click += (sender, args) => { globalVar.courage += 1; player.attack(bevHouse.getEnemy(), player.ownedWeapons[0]); Inventory.removeItem(player.ownedWeapons[0], player); playerChoices.addToList("You attacked daddy."); Bev3.atck(pic, des, Right, Left); }; Left.Click += (sender, args) => { Bev3.huir(pic, des, Right, Left, player); playerChoices.addToList("You escaped from daddy."); }; }
public static void Gor(PictureBox pic, Label des, Button right, Button Left, Characters player) { Location wellHouse = new WeapLoc(globalVar.locations[2], globalVar.weapons[5], 40, globalVar.enemies[0], 70, 30, 1, globalVar.npcs[2]); Inventory.addItem(wellHouse.getItem(), player); string desc = Logic.description.describeObj(3, 2, 10, 0, 1); playerChoices.addToList(desc); pic.Image = Image.FromFile("FGe.png"); des.Text = desc + "Pennywise dodges your attack and leaves. \n When you turn around, your realize that Georgie is \n there telling you:" + " You've beaten Pennywise, and I never died.\n This is a happy moment for you. What do you do?"; right.Text = "Attack Georgie"; Left.Text = "Trust Georgie"; right.Visible = true; Left.Visible = true; right.Click += (sender, args) => { //Quitar vida IT globalVar.courage += 1; player.attack(wellHouse.getEnemy(), player.ownedWeapons[0]); Inventory.removeItem(player.ownedWeapons[0], player); End3.ATck(pic, des, right, Left, player); }; Left.Click += (sender, args) => { Game_Over.GO(pic, des, right, Left); }; }
public static void ATck(PictureBox pic, Label des, Button right, Button Left, Characters player) { Location wellHouse = new WeapLoc(globalVar.locations[2], globalVar.weapons[6], 35, globalVar.enemies[0], 40, 30, 1, globalVar.npcs[6]); Inventory.addItem(wellHouse.getItem(), player); string desc = Logic.description.describeObj(4, 2, 15, 0, 6); playerChoices.addToList(desc); pic.Image = Image.FromFile("FAt.jpg"); des.Text = desc + "You're lucky! Georgie was Pennywise all along. \n You attack and hurt him, and now \n" + "is when the final battle begins. \n What do you do?"; right.Text = "Attack with weapon"; Left.Text = "Risk it all"; right.Visible = true; Left.Visible = true; right.Click += (sender, args) => { //Quitar vida IT player.attack(wellHouse.getEnemy(), player.ownedWeapons[0]); Inventory.removeItem(player.ownedWeapons[0], player); End4.Bill(pic, des, right, Left, player); }; Left.Click += (sender, args) => { // Perder salud player.takeDamage(player, 20); End4.Bill(pic, des, right, Left, player); }; }
public static void Bill(PictureBox pic, Label des, Button right, Button Left, Characters player) { Location wellHouse = new WeapLoc(globalVar.locations[2], globalVar.weapons[4], 35, globalVar.enemies[0], 20, 30, 1, globalVar.npcs[6]); Inventory.addItem(wellHouse.getItem(), player); string desc = Logic.description.describeObj(5, 2, 14, 0, 1); playerChoices.addToList(desc); pic.Image = Image.FromFile("FBill.jpg"); des.Text = desc + "OH NO! Pennywise has kidnapped Bill! \n Apparently, he'll let you all go if you let \n him take Bill. What do you do?"; right.Text = "Abandon Bill and save myself"; Left.Text = "Fight for Bill"; right.Visible = true; Left.Visible = true; right.Click += (sender, args) => { Game_Over.GO(pic, des, right, Left); }; Left.Click += (sender, args) => { globalVar.courage += 1; player.attack(wellHouse.getEnemy(), player.ownedWeapons[0]); Inventory.removeItem(player.ownedWeapons[0], player); End5.Fight(pic, des, right, Left, player); }; }
public static void AtBow(PictureBox pic, Label tit, Label des, Button right, Button Left, Characters player) { Location wellHouse = new WeapLoc(globalVar.locations[2], globalVar.weapons[2], 30, globalVar.enemies[0], 110, 30, 1, globalVar.npcs[1]); Inventory.addItem(wellHouse.getItem(), player); string desc = Logic.description.describeObj(1, 2, 12, 0, 1); playerChoices.addToList(desc); // if no tienes arma sera Game Over //pic.Image = Image.FromFile(@"\\Mac\Home\Desktop\Media\F1.jpg"); pic.Image = Image.FromFile("F2.jpg"); des.Text = desc + "You managed to beat Bowers. \n You keep going down the sewers and stumble upon \n the final boss PENNYWISE!\n Who has kidnapped Beverly! What do you do?"; right.Text = "Not help and run"; Left.Text = "Attack him"; right.Visible = true; Left.Visible = true; right.Click += (sender, args) => { Game_Over.GO(pic, des, right, Left); }; Left.Click += (sender, args) => { // Coraje++ globalVar.courage += 1; player.attack(wellHouse.getEnemy(), player.ownedWeapons[0]); Inventory.removeItem(player.ownedWeapons[0], player); End2.Gor(pic, des, right, Left, player); }; }