home *** CD-ROM | disk | FTP | other *** search
/ The Weather Channel - Everything Weather / TheWeatherChannel-EverythingWeather-Win31.iso / twcia / sky / sky.dxr / 00094.ls < prev    next >
Encoding:
Text File  |  1995-08-22  |  603 b   |  28 lines

  1. on mouseDown
  2.   global backString, CDPath, linkFlag, movieLocation
  3.   set n to the clickOn
  4.   set the castNum of sprite n to the castNum of sprite n + 1
  5.   updateStage()
  6.   sound close 1
  7.   repeat while the mouseDown
  8.     nothing()
  9.   end repeat
  10.   set the castNum of sprite 48 to 116
  11.   resetSprites()
  12.   if linkFlag then
  13.     set linkFlag to 0
  14.     link(backString)
  15.     exit
  16.   end if
  17.   if the frame < 5 then
  18.     cleanUp()
  19.     go(1, CDPath & "mainmenu\mainmenu")
  20.     exit
  21.   end if
  22.   set linkFlag to 0
  23.   set backString to movieLocation
  24.   set movieLocation to "sky 0 1 1 1"
  25.   puppetTransition(4, 1, 1, 1)
  26.   go(2)
  27. end
  28.