home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 July / WPCJUL96.ISO / file.exe / GROFINJ.DXR / 00031_grolabs.ls < prev    next >
Encoding:
Text File  |  1996-05-15  |  2.2 KB  |  82 lines

  1. on grolabs
  2.   global grosectactive, gropastsection, GROChooseQuit
  3.   GROENTSECTION()
  4.   set grosectactive to 1
  5.   set gropastsection to "grolabs"
  6.   set the castNum of sprite 17 to 64
  7.   set the castNum of sprite 18 to 65
  8.   set the castNum of sprite 17 to 64
  9.   set the castNum of sprite 18 to 65
  10.   set the castNum of sprite 35 to 81
  11.   set the locH of sprite 17 to 380
  12.   set the locH of sprite 18 to 430
  13.   set the locH of sprite 35 to 380
  14.   set the locV of sprite 17 to 288
  15.   set the locV of sprite 18 to 337
  16.   set the locV of sprite 35 to 288
  17.   set the castNum of sprite 20 to 92
  18.   set the locH of sprite 20 to 200
  19.   set the locV of sprite 20 to 200
  20.   set the ink of sprite 20 to 39
  21.   set the castNum of sprite 5 to 49
  22.   set the locH of sprite 11 to 200
  23.   set the locV of sprite 11 to 200
  24.   set the ink of sprite 11 to 39
  25.   updateStage()
  26.   set the castNum of sprite 10 to 33
  27.   set the locH of sprite 10 to 515
  28.   set the locV of sprite 10 to 264
  29.   updateStage()
  30.   repeat while grosectactive = 1
  31.     GROQuitCD()
  32.     if GROChooseQuit = 2 then
  33.       exit repeat
  34.     end if
  35.     repeat while the movieTime of sprite 10 < 1620
  36.       GROQuitCD()
  37.       if GROChooseQuit = 2 then
  38.         exit repeat
  39.       end if
  40.       if rollOver(18) then
  41.         if the mouseDown then
  42.           set the movieRate of sprite 10 to 0
  43.           if GROChooseQuit <> 2 then
  44.             repeat while the movieRate of sprite 10 = 0
  45.               if rollOver(17) then
  46.                 if the mouseDown then
  47.                   set the movieRate of sprite 10 to 1
  48.                 end if
  49.               end if
  50.               groANIMATESCREEN()
  51.               if GROChooseQuit = 2 then
  52.                 exit repeat
  53.               end if
  54.             end repeat
  55.           end if
  56.           if GROChooseQuit = 2 then
  57.             exit repeat
  58.           end if
  59.         end if
  60.       else
  61.         if rollOver(17) then
  62.           if the mouseDown then
  63.             set the movieRate of sprite 10 to 1
  64.           end if
  65.         end if
  66.       end if
  67.       updateStage()
  68.       set the movieRate of sprite 10 to 1
  69.       updateStage()
  70.     end repeat
  71.     if GROChooseQuit = 2 then
  72.       exit repeat
  73.     end if
  74.     if rollOver(17) then
  75.       if the mouseDown then
  76.         set the movieTime of sprite 10 to 0
  77.       end if
  78.     end if
  79.     groANIMATESCREEN()
  80.   end repeat
  81. end
  82.