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

  1. on exitFrame me
  2.   global win, points, pootimer
  3.   pootimer.forget()
  4.   if win = "yes" then
  5.     puppetSound(3, "win")
  6.     member("youwin").text = "You Win!!!"
  7.     member("points").text = "total score:" && string(points) && "pts"
  8.   else
  9.     puppetSound(3, "lose")
  10.     member("youwin").text = "give it another try!"
  11.     member("points").text = "total score:" && string(points) && "pts"
  12.   end if
  13. end
  14.