home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global guyX, guyY
- if not (the shiftDown) then
- exit
- end if
- if (guyX <> 3) and (guyY <> 0) then
- exit
- end if
- set v to the locV of sprite 41
- repeat while 1
- if (the locV of sprite 46 > 210) and (the locV of sprite 41 > 0) then
- set the locV of sprite 41 to -100
- puppetSound("Thump.wav")
- end if
- if the locV of sprite 46 > 230 then
- exit repeat
- end if
- set the locV of sprite 46 to the locV of sprite 46 + 5
- updateStage()
- end repeat
- repeat while the mouseDown
- end repeat
- repeat while the mouseUp
- end repeat
- puppetSound(0)
- set the locV of sprite 41 to v
- end
-