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

  1. on exitFrame me
  2.   global win, points
  3.   if (the timer / 60) <= 60 then
  4.     points = 2000
  5.   end if
  6.   if ((the timer / 60) <= 120) and ((the timer / 60) > 60) then
  7.     points = 1500
  8.   end if
  9.   if ((the timer / 60) <= 180) and ((the timer / 60) > 120) then
  10.     points = 1000
  11.   end if
  12.   if ((the timer / 60) <= 260) and ((the timer / 60) > 180) then
  13.     points = 500
  14.   end if
  15.   if ((the timer / 60) <= 320) and ((the timer / 60) > 260) then
  16.     points = 250
  17.   end if
  18.   if ((the timer / 60) <= 380) and ((the timer / 60) > 320) then
  19.     points = 250
  20.   end if
  21.   if (the timer / 60) > 380 then
  22.     points = 100
  23.   end if
  24.   if (the timer / 60) > 460 then
  25.     points = 25
  26.   end if
  27.   if win = "yes" then
  28.     puppetSound(3, "win")
  29.     member("youwin").text = "You Win!!!"
  30.     member("points").text = "Total score:" & string(points) & "pts"
  31.   else
  32.     puppetSound(3, "lose")
  33.     member("youwin").text = "give it another try!"
  34.     member("points").text = "Total score:" & string(points) & "pts"
  35.   end if
  36. end
  37.