home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / DesktopInvaders.swf / scripts / frame_9 / DoAction_5.as < prev    next >
Encoding:
Text File  |  2006-06-13  |  665 b   |  41 lines

  1. if(fired == "1" and life == "0" and quiet == "0")
  2. {
  3.    call("firepressed");
  4. }
  5. count = "1";
  6. while(totbul >= count)
  7. {
  8.    y = eval("bully" add count);
  9.    if(y < "38")
  10.    {
  11.       x = eval("bullx" add count);
  12.       call("bulletup");
  13.    }
  14.    else
  15.    {
  16.       call("bulletbase");
  17.    }
  18.    count += "1";
  19. }
  20. if(lives == - "1")
  21. {
  22.    if(life == "0")
  23.    {
  24.       gotoAndPlay(29);
  25.    }
  26. }
  27. if(alientots == "40")
  28. {
  29.    if(motherflag == "0" and fire == "0" and prizeflag == "0" and alienfire == "0" and life == "0")
  30.    {
  31.       if(quiet < quiettop)
  32.       {
  33.          quiet += "1";
  34.       }
  35.       else
  36.       {
  37.          gotoAndPlay(25);
  38.       }
  39.    }
  40. }
  41.