home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / air_adventure.swf / scripts / frame_4 / DoAction.as
Encoding:
Text File  |  2006-07-26  |  1.1 KB  |  56 lines

  1. function reset()
  2. {
  3.    rotgoal = 0;
  4.    airplaneFrame = 0;
  5.    airplaneFrameEnd = 0;
  6.    gasCheck = 0;
  7.    gasCheck2 = 0;
  8.    speed = 30;
  9.    horygoal = 4.5;
  10.    rotationgoal = 0;
  11.    mask_xpos = 0;
  12.    powerxgoal = 7.2;
  13.    batpower = 0.04;
  14.    hit = false;
  15.    pophit = false;
  16. }
  17. stop();
  18. level = 1;
  19. airplanepos = 0;
  20. gameOn = 0;
  21. planeOmi = new Sound();
  22. planeOmi.attachSound("Plane1");
  23. planeOmi.start(0,9999999);
  24. planeGas = new Sound();
  25. planeGas.attachSound("Plane2");
  26. planeNoGas = new Sound();
  27. planeNoGas.attachSound("Plane3");
  28. batlow = new Sound();
  29. batlow.attachSound("lowbat");
  30. altlow = new Sound();
  31. altlow.attachSound("lowalt");
  32. gotbat = new Sound();
  33. gotbat.attachSound("gotbattery");
  34. poper = new Sound();
  35. poper.attachSound("popone");
  36. catmeow = new Sound();
  37. catmeow.attachSound("meow");
  38. hiss = new Sound();
  39. hiss.attachSound("cathiss");
  40. talk = new Sound();
  41. talk.attachSound("talktoit");
  42. _quality = "medium";
  43. airplaneFrame = 0;
  44. airplaneFrameEnd = 0;
  45. gasCheck = 0;
  46. gasCheck2 = 0;
  47. speed = 30;
  48. horygoal = 4.5;
  49. rotationgoal = 0;
  50. mask_xpos = 0;
  51. powerxgoal = 7.2;
  52. batpower = 0.04;
  53. hit = false;
  54. pophit = false;
  55. rotgoal = 0;
  56.