home *** CD-ROM | disk | FTP | other *** search
/ Seeker / Seeker.iso / files_w / minka_d.dir / 00056.ls < prev    next >
Encoding:
Text File  |  1994-12-05  |  791 b   |  30 lines

  1. on mouseDown
  2.   global getpieces
  3.   set cnum to the castNum of sprite clickOn()
  4.   if cnum <> 0 then
  5.     cursor([247, 248])
  6.     set the castNum of sprite 48 to cnum
  7.     set the castNum of sprite clickOn() to 0
  8.     repeat while the stillDown
  9.       set the locH of sprite 48 to mouseH()
  10.       set the locV of sprite 48 to mouseV()
  11.       updateStage()
  12.     end repeat
  13.     set the castNum of sprite clickOn() to cnum
  14.     set the castNum of sprite 48 to 210
  15.     set the locH of sprite 48 to 0
  16.     set the locV of sprite 48 to 0
  17.     cursor(200)
  18.     if rollOver(2) then
  19.       puppetSound("open")
  20.       if getAt(getpieces, 7) then
  21.         puppetSprite(9, 1)
  22.       end if
  23.       repeat with i = 1 to 37
  24.         set the cursor of sprite i to 0
  25.       end repeat
  26.       go("scene2_1")
  27.     end if
  28.   end if
  29. end
  30.