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

  1. on exitFrame
  2.   global gHighlightColor, gLowlightColor, gOldLine, languagechosen
  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.   else
  11.     if the puppet of sprite 20 = 0 then
  12.       repeat with couy = 20 to 29
  13.         puppetSprite(couy, 1)
  14.       end repeat
  15.     end if
  16.     checkButtonrollovers()
  17.     checkTheFlagRolls()
  18.     if rollOver(44) then
  19.       set the blend of sprite 41 to 75
  20.     else
  21.       set the blend of sprite 41 to 25
  22.     end if
  23.     if rollOver(45) then
  24.       set the blend of sprite 42 to 75
  25.     else
  26.       set the blend of sprite 42 to 25
  27.     end if
  28.     if rollOver(46) then
  29.       set the blend of sprite 43 to 75
  30.     else
  31.       set the blend of sprite 43 to 25
  32.     end if
  33.   end if
  34.   updateStage()
  35.   go(the frame)
  36. end
  37.  
  38. on checkTheFlagRolls
  39.   global clickonflag
  40.   repeat with counterN = 20 to 29
  41.     if (counterN = (clickonflag + 19)) and (clickonflag <> 0) then
  42.       set the blend of sprite counterN to 100
  43.       next repeat
  44.     end if
  45.     if rollOver(counterN) then
  46.       set the blend of sprite counterN to 100
  47.       next repeat
  48.     end if
  49.     set the blend of sprite counterN to 30
  50.   end repeat
  51. end
  52.  
  53. on reverseIconOn optionValue
  54.   set the visible of sprite 12 to 0
  55.   set the visible of sprite 13 to 0
  56.   set the visible of sprite 14 to 0
  57.   set the visible of sprite 15 to 0
  58.   set the visible of sprite optionValue to 1
  59. end
  60.  
  61. on reverseIconOff
  62.   set the visible of sprite 12 to 1
  63.   set the visible of sprite 13 to 0
  64.   set the visible of sprite 14 to 0
  65.   set the visible of sprite 15 to 0
  66. end
  67.