home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / BugTime.swf / scripts / frame_466 / DoAction.as
Encoding:
Text File  |  2005-10-04  |  200 b   |  6 lines

  1. accuracy = int(score / shots) * 80;
  2. healthbonus = (8 - getProperty("health/", _currentframe)) * 120;
  3. score = Number(Number(score) + Number(accuracy)) + Number(healthbonus);
  4. gameover = 1;
  5. play();
  6.