home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / airfox.swf / scripts / frame_8 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  1.9 KB  |  74 lines

  1. gamelevelcount = 1;
  2. showbonus = 0;
  3. allowtrain = 0;
  4. islandcreate = random(10) + 3;
  5. islandpause = islandcreate + random(20);
  6. islandx = random(11) + 1;
  7. islandwidth = random(2) + 2;
  8. islandtype = random(2) + 1;
  9. totalcount = 1000;
  10. allowlander = 0;
  11. allowbonusship = 0;
  12. bonuscountdown = 0;
  13. bubblecount = 6500;
  14. tiletype = random(2) + 1;
  15. e3bullet = 3000;
  16. radarcount = 7000;
  17. escount = 9000;
  18. shotsfired = 0;
  19. shipcount = 5;
  20. shippause = 0;
  21. shipcontrol = 0;
  22. bubbletotal = 50;
  23. increasespeed = 0;
  24. minecount = 11000;
  25. replacement = 0;
  26. levelduration = 6;
  27. bulletcount = 2000;
  28. shielduration = 300;
  29. scrollspeed = 0.5;
  30. bulletstop = 1;
  31. resetlander = 0;
  32. duplicateMovieClip(_root.gamelevel1,"gamelevel",32384);
  33. duplicateMovieClip(_root.bonus1,"bonus",32385);
  34. duplicateMovieClip(_root.ship1,"ship",30384);
  35. setProperty(_root.ship, _X, 150);
  36. setProperty(_root.ship, _Y, -150);
  37. tellTarget(_root.ship)
  38. {
  39.    gotoAndStop(20);
  40. }
  41. icondepth = 14010;
  42. placeiconx = -8;
  43. s = 1;
  44. while(_root.shipcount >= s)
  45. {
  46.    icondepth++;
  47.    placeiconx += 20;
  48.    duplicateMovieClip(_root.shipicon,"icon" + icondepth,16384 + icondepth);
  49.    setProperty("_root.icon" + icondepth, _X, placeiconx);
  50.    setProperty("_root.icon" + icondepth, _Y, 8);
  51.    if(14020 < icondepth)
  52.    {
  53.       icondepth = 14010;
  54.    }
  55.    s++;
  56. }
  57. duplicateMovieClip(_root.shipshield1,"shipshield",30385);
  58. setProperty(_root.shipshield, _X, -150);
  59. setProperty(_root.shipshield, _Y, -150);
  60. duplicateMovieClip(_root.overlay,"overlay",30386);
  61. setProperty(_root.overlay, _X, 0);
  62. setProperty(_root.overlay, _Y, 0);
  63. overlay.platformsremaining = 20;
  64. duplicateMovieClip(_root.radarscreen,"rscreen",30387);
  65. setProperty(_root.rscreen, _X, 240);
  66. setProperty(_root.rscreen, _Y, 4);
  67. duplicateMovieClip(_root.shipsmall1,"shipsmall",30388);
  68. displaycount = 0;
  69. ebullet = 3000;
  70. enemycount = 4000;
  71. explosioncount = 4050;
  72. makescroll = 299;
  73. rbgbcounter = 6500;
  74.