ereinion

Free fights

Oct 16th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void free_fights() {
  2.     int i = 0;
  3.     familiar f;
  4.     string choice_adv;
  5.    
  6.    
  7.     if (!to_boolean(get_property("_loveTunnelUsed")) || to_boolean(get_property("snojoAvailable")) || to_int(get_property("_machineTunnelsAdv")) < 5 || to_int(get_property("_witchessFights")) < 5) {
  8.        
  9.         free_fights_outfit();
  10.        
  11.         // L.O.V.E. tunnel
  12.         if (!to_boolean(get_property("_loveTunnelUsed")) && to_boolean(get_property("loveTunnelAvailable"))) {
  13.             visit_url("place.php?whichplace=town_wrong&action=townwrong_tunnel");
  14.             run_choice(1);
  15.             run_choice(1);
  16.             visit_url("choice.php");
  17.             // 1 = Eardigan, 2 = Epaulettes, 3 = Earring
  18.             run_choice(3);
  19.             run_choice(1);
  20.             visit_url("choice.php");
  21.             // 1 = Lovebotamy, 2 = Open Heart Surgery, 3 = Wandering Eye Surgery
  22.             run_choice(2);
  23.             run_choice(1);
  24.             // 1 = Enamorang, 2 = Emotionizer, 3 = Extraterrestrial Chocolate, 4 = Echinacea Bouquet, 5 = Elephant, 6 = 2 pieces of toast
  25.             run_choice(2);
  26.         }
  27.  
  28.         choose_bjornify_familiar();
  29.         // Snojo
  30.         if (to_boolean(get_property("snojoAvailable"))) {
  31.             while (to_int(get_property("_snojoFreeFights")) < 10 && i <= 15) {
  32.                 adv1($location[The X-32-F Combat Training Snowman], -1, "");
  33.                 i = i + 1;
  34.             }
  35.         }
  36.        
  37.         choose_bjornify_familiar();
  38.         // Machine elf tunnels
  39.         if (have_familiar($familiar[Machine Elf]) && to_int(get_property("_machineTunnelsAdv")) < 5){
  40.             f = my_familiar();
  41.             i = 0;
  42.             use_familiar($familiar[Machine Elf]);
  43.             while (to_int(get_property("_machineTunnelsAdv")) < 5 && i <= 15) {
  44.                 adv1($location[The Deep Machine Tunnels], -1, "");
  45.                 i = i + 1;
  46.             }
  47.             use_familiar(f);
  48.         }
  49.        
  50.         choose_bjornify_familiar();
  51.         // Witchess
  52.         if(get_campground() contains $item[Witchess Set] && to_int(get_property("_witchessFights")) < 5) {
  53.             i = 0;
  54.             while(to_int(get_property("_witchessFights")) < 5 && i < 10) {
  55.                 // Witchess knight
  56.                 choice_adv = "1936";
  57.                 if (to_int(get_property("_witchessFights")) == 4 && have_skill($skill[Frigidalmatian])) {
  58.                     // Witchess ox
  59.                     if (use_skill(1, $skill[Frigidalmatian])) {
  60.                         choice_adv = "1937";
  61.                     }
  62.                 }
  63.                 visit_url("campground.php?action=witchess");
  64.                 run_choice(1);
  65.                 visit_url("choice.php?option=1&pwd="+my_hash()+"&whichchoice=1182&piece=" + choice_adv, false);
  66.                 run_combat();
  67.                 i = i + 1;
  68.             }
  69.         }
  70.     }
  71. }
Add Comment
Please, Sign In to add comment