home *** CD-ROM | disk | FTP | other *** search
/ Cocktail Hour / image.iso / COCKTAIL.DIR / history_14.ls < prev    next >
Encoding:
Text File  |  1997-03-05  |  1.2 KB  |  40 lines

  1. on mouseDown
  2.   set arrowPressed to the clickOn
  3.   set the visible of sprite (arrowPressed + 2) to 1
  4.   updateStage()
  5.   repeat while the mouseDown
  6.   end repeat
  7.   set the visible of sprite (arrowPressed + 2) to 0
  8.   if the clickOn = 13 then
  9.     if the visible of sprite 8 then
  10.       set the visible of sprite 8 to 0
  11.       set the visible of sprite 9 to 1
  12.     else
  13.       if the visible of sprite 10 then
  14.         set the visible of sprite 10 to 0
  15.         set the visible of sprite 11 to 1
  16.       end if
  17.     end if
  18.     set the cursor of sprite 14 to [34, 35]
  19.     set the cursor of sprite 13 to -1
  20.     set the visible of sprite 13 to 0
  21.     set the visible of sprite 14 to 1
  22.   else
  23.     if the clickOn = 14 then
  24.       if the visible of sprite 9 then
  25.         set the visible of sprite 9 to 0
  26.         set the visible of sprite 8 to 1
  27.       else
  28.         if the visible of sprite 11 then
  29.           set the visible of sprite 11 to 0
  30.           set the visible of sprite 10 to 1
  31.         end if
  32.       end if
  33.       set the cursor of sprite 13 to [34, 35]
  34.       set the cursor of sprite 13 to -1
  35.       set the visible of sprite 14 to 0
  36.       set the visible of sprite 13 to 1
  37.     end if
  38.   end if
  39. end
  40.