home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / Fallout.swf / scripts / frame_30 / DoAction.as
Encoding:
Text File  |  2005-08-04  |  222 b   |  7 lines

  1. var curTime = (getTimer() - startTime) / 1000;
  2. var levelBonus = int(level * 5000 * (curTime / gameDuration));
  3. score += levelBonus;
  4. makeTextScore();
  5. txtLevelEnd = "LEVEL " + txtLevel + " COMPLETED!";
  6. txtBlocks = "0";
  7.