home *** CD-ROM | disk | FTP | other *** search
/ Seeker / Seeker.iso / files_w / base_ec.dir / 00060.ls < prev    next >
Encoding:
Text File  |  1994-12-01  |  527 b   |  25 lines

  1. on mouseDown
  2.   global pictnumber, etcpict
  3.   set pictnumber to pictnumber + 1
  4.   if pictnumber >= 14 then
  5.     set pictnumber to 1
  6.   end if
  7.   if not getAt(etcpict, pictnumber) then
  8.     set p to 0
  9.     repeat while p = 0
  10.       set pictnumber to pictnumber + 1
  11.       if pictnumber >= 14 then
  12.         set pictnumber to 1
  13.       end if
  14.       if getAt(etcpict, pictnumber) then
  15.         set p to 1
  16.       end if
  17.     end repeat
  18.   end if
  19.   set the castNum of sprite 1 to 0
  20.   puppetSprite(1, 0)
  21.   updateStage()
  22.   unLoad()
  23.   go(#previous)
  24. end
  25.