home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / DesktopInvaders.swf / scripts / frame_13 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  816 b   |  36 lines

  1. fired = "0";
  2. if(fire < totbul)
  3. {
  4.    fire += "1";
  5.    if("37" < bully1)
  6.    {
  7.       bullx1 = shipx + "2";
  8.       setProperty("/bullet1", _X, bullx1 * "4" + bulloffx);
  9.       bully1 = launch;
  10.    }
  11.    else if("37" < bully2)
  12.    {
  13.       bullx2 = shipx + "2";
  14.       setProperty("/bullet2", _X, bullx2 * "4" + bulloffx);
  15.       bully2 = launch;
  16.    }
  17.    else if("37" < bully3)
  18.    {
  19.       bullx3 = shipx + "2";
  20.       setProperty("/bullet3", _X, bullx3 * "4" + bulloffx);
  21.       bully3 = launch;
  22.    }
  23.    else if("37" < bully4)
  24.    {
  25.       bullx4 = shipx + "2";
  26.       setProperty("/bullet4", _X, bullx4 * "4" + bulloffx);
  27.       bully4 = launch;
  28.    }
  29.    else if("37" < bully5)
  30.    {
  31.       bullx5 = shipx + "2";
  32.       setProperty("/bullet5", _X, bullx5 * "4" + bulloffx);
  33.       bully5 = launch;
  34.    }
  35. }
  36.