home *** CD-ROM | disk | FTP | other *** search
/ SKIP - The Laundry Guide / LEVER_CD.iso / lever / envmain.dir / 00187.ls < prev    next >
Encoding:
Text File  |  1997-02-21  |  1.7 KB  |  69 lines

  1. on exitFrame
  2.   global gHighlightColor, gLowlightColor, gOldLine, languagechosen, RandomValue
  3.   if the visible of sprite 48 = 1 then
  4.     if rollOver(48) then
  5.       set tempmouseline to the mouseLine
  6.       if tempmouseline <> 20 then
  7.         set the locV of sprite 47 to 23 + (tempmouseline * 17)
  8.       end if
  9.     end if
  10.     go(the frame)
  11.   else
  12.     if the timer > RandomValue then
  13.       set RandomValue to (random(6) + 4) * 60
  14.       set previ to the member of sprite 32
  15.       set the member of sprite 32 to member "tempblock"
  16.       startTimer()
  17.       if previ = member 347 of castLib 1 then
  18.         set the member of sprite 32 to member 346 of castLib 1
  19.       else
  20.         set the member of sprite 32 to member 347 of castLib 1
  21.       end if
  22.     end if
  23.     if rollOver(11) then
  24.       tractor()
  25.     else
  26.       if rollOver(12) then
  27.         house()
  28.       else
  29.         if rollOver(13) then
  30.           sewer()
  31.         else
  32.           if rollOver(14) then
  33.             water()
  34.           else
  35.             if rollOver(15) then
  36.               lorry()
  37.             else
  38.               if rollOver(16) then
  39.                 factory1()
  40.               else
  41.                 if rollOver(17) then
  42.                   pylon()
  43.                 end if
  44.               end if
  45.             end if
  46.           end if
  47.         end if
  48.       end if
  49.     end if
  50.     updateStage()
  51.     go(the frame)
  52.     if rollOver(44) then
  53.       set the blend of sprite 41 to 75
  54.     else
  55.       set the blend of sprite 41 to 25
  56.     end if
  57.     if rollOver(45) then
  58.       set the blend of sprite 42 to 75
  59.     else
  60.       set the blend of sprite 42 to 25
  61.     end if
  62.     if rollOver(46) then
  63.       set the blend of sprite 43 to 75
  64.     else
  65.       set the blend of sprite 43 to 25
  66.     end if
  67.   end if
  68. end
  69.