home *** CD-ROM | disk | FTP | other *** search
/ Bible Champions - The Birth of Jesus / BIRTH.ISO / pc / mainmenu.dxr / 00015.ls < prev    next >
Encoding:
Text File  |  1999-07-02  |  1.6 KB  |  67 lines

  1. on exitFrame
  2.   cursor(0)
  3.   repeat with g = 15 to 17
  4.     if rollOver(g) or rollOver(g - 6) then
  5.       puppetSound(1, 44)
  6.       set the visible of sprite (g - 3) to 1
  7.       updateStage()
  8.       repeat while rollOver(g) or rollOver(g - 6)
  9.         if the mouseDown then
  10.           puppetSound(1, 42)
  11.           repeat while the mouseDown
  12.             nothing()
  13.           end repeat
  14.           case g of
  15.             15:
  16.               go("timeline")
  17.             16:
  18.               go("stories")
  19.             17:
  20.               go("games")
  21.           end case
  22.           exit repeat
  23.         end if
  24.       end repeat
  25.       set the visible of sprite (g - 3) to 0
  26.       updateStage()
  27.     end if
  28.   end repeat
  29.   set flag to 0
  30.   repeat with g = 5 to 7
  31.     if rollOver(g) then
  32.       puppetSound(1, 45)
  33.       set the memberNum of sprite g to the memberNum of sprite g + 1
  34.       updateStage()
  35.       repeat while rollOver(g)
  36.         if the mouseDown then
  37.           puppetSound(1, 43)
  38.           repeat while the mouseDown
  39.             nothing()
  40.           end repeat
  41.           case g of
  42.             5:
  43.               set flag to 1
  44.               go("myquit")
  45.             6:
  46.               cursor(200)
  47.               sound playFile 1, "Mainhelp.AIF"
  48.               repeat while soundBusy(1)
  49.                 nothing()
  50.               end repeat
  51.               cursor(0)
  52.             7:
  53.               set flag to 1
  54.               go("credits")
  55.           end case
  56.           exit repeat
  57.         end if
  58.       end repeat
  59.       if flag = 0 then
  60.         set the memberNum of sprite g to the memberNum of sprite g - 1
  61.         updateStage()
  62.       end if
  63.     end if
  64.   end repeat
  65.   go(the frame)
  66. end
  67.