home *** CD-ROM | disk | FTP | other *** search
/ Seeker / Seeker.iso / files_w / bar.dir / 00098.ls < prev    next >
Encoding:
Text File  |  1994-12-03  |  787 b   |  28 lines

  1. on mouseDown
  2.   global getpoints, getitems, ballreturnframe
  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(9) then
  19.       repeat with i = 1 to 37
  20.         set the cursor of sprite i to 0
  21.         puppetSprite(i, 0)
  22.       end repeat
  23.       set ballreturnframe to the frame - 2
  24.       go("to5BALL")
  25.     end if
  26.   end if
  27. end
  28.