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

  1. on exitFrame me
  2.   global playerScore, totalScore, throwState
  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 = "Total Score:  " & string(totalScore)
  10.   repeat with whichDisp = 180 to 200
  11.     sprite(whichDisp).locZ = 999
  12.   end repeat
  13.   throwState = 0
  14.   playSound("Win", 1)
  15. end
  16.