home *** CD-ROM | disk | FTP | other *** search
- global mm, status
-
- on mouseDown
- if ((mm - 200) < 0) and (status = 1) then
- go("getout")
- else
- set mm to mm - 200
- put mm into field "gold"
- end if
- set spnum to clickOn()
- set nowcastnum to the castNum of sprite spnum
- puppetSprite(spnum, 1)
- repeat while the mouseDown = 1
- if rollOver(spnum) then
- set the castNum of sprite spnum to nowcastnum + 1
- updateStage()
- next repeat
- end if
- set the castNum of sprite spnum to nowcastnum
- updateStage()
- end repeat
- set the castNum of sprite spnum to nowcastnum
- updateStage()
- puppetSprite(spnum, 0)
- if rollOver(spnum) then
- go("shoot")
- end if
- end
-