home *** CD-ROM | disk | FTP | other *** search
/ Seeker / Seeker.iso / files_w / picture.dir / 00168.ls < prev    next >
Encoding:
Text File  |  1994-11-30  |  685 b   |  25 lines

  1. on mouseDown
  2.   global pictnumber
  3.   if the castNum of sprite clickOn() <> the number of cast "notfound" then
  4.     set the castNum of sprite 18 to the castNum of sprite 18 + 1
  5.     updateStage()
  6.     set nt to ticks()
  7.     repeat while (nt + 40) > ticks()
  8.     end repeat
  9.     set the castNum of sprite 18 to the castNum of sprite 18 - 1
  10.     updateStage()
  11.     set pictnumber to clickOn() - 1
  12.     repeat with i = 2 to 17
  13.       set the cursor of sprite i to 0
  14.     end repeat
  15.     cursor(200)
  16.     repeat with i = 2 to 14
  17.       set the castNum of sprite i to 0
  18.       puppetSprite(i, 0)
  19.     end repeat
  20.     set the castNum of sprite 18 to 0
  21.     puppetSprite(18, 0)
  22.     go(the frame + 1)
  23.   end if
  24. end
  25.