home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / Arkanoid Flash.swf / scripts / frame_5 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  577 b   |  39 lines

  1. bricksLeft = noOfBricks;
  2. if(onscreen_B == "1")
  3. {
  4.    call("BonusLife");
  5. }
  6. if(onscreen_E == "1")
  7. {
  8.    call("Expand");
  9. }
  10. if(onscreen_C == "1")
  11. {
  12.    call("Catch");
  13. }
  14. if(onscreen_SL == "1")
  15. {
  16.    call("Slow");
  17. }
  18. if(onscreen_F == "1")
  19. {
  20.    call("Fast");
  21. }
  22. if(onscreen_SH == "1")
  23. {
  24.    call("Shrink");
  25. }
  26. if(started == "1")
  27. {
  28.    timerCheck = getTimer();
  29.    if(timerCheck - timer >= "15000")
  30.    {
  31.       magnitude += "1";
  32.       timer = getTimer();
  33.       addWallScore += "50";
  34.       addBatScore += "100";
  35.       speed_ind += "1";
  36.    }
  37. }
  38. gotoAndPlay(4);
  39.