home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / WaterFight.dxr / 00054.ls < prev    next >
Encoding:
Text File  |  2002-01-25  |  497 b   |  15 lines

  1. on exitFrame me
  2.   global playerScore, totalScore
  3.   integerScore = (playerScore[1] * 30) + (playerScore[2] * 50) - (playerScore[3] * 20)
  4.   if integerScore <= 0 then
  5.     integerScore = 0
  6.   end if
  7.   totalScore = totalScore + integerScore
  8.   member("Level Score Tally").text = "Level score:  " & string(integerScore)
  9.   member("Total Score Tally").text = "Level Score:  " & string(totalScore)
  10.   repeat with whichDisp = 180 to 200
  11.     sprite(whichDisp).locZ = 999
  12.   end repeat
  13.   playSound("Lose", 1)
  14. end
  15.