home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / aliendash.swf / scripts / frame_5 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  494 b   |  25 lines

  1. function reset_alien()
  2. {
  3.    _root.lives--;
  4.    _root.time = 30;
  5.    _root.milliseconds = 60;
  6.    _root.alien._rotation = 0;
  7.    _root.alien._x = 275;
  8.    _root.alien._y = _root.limit_down;
  9.    _root.alien.gotoAndStop("stand");
  10. }
  11. score = 0;
  12. level = 1;
  13. lives = 3;
  14. speed = 8;
  15. speed_car = 4;
  16. limit_right = 535;
  17. limit_left = 15;
  18. limit_down = 445;
  19. limit_up = 55;
  20. s_splat = new Sound();
  21. s_splat.attachSound("splat");
  22. s_move = new Sound();
  23. s_move.attachSound("move");
  24. gotoAndStop(6);
  25.