home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gun
- set gun to 1
- cursor([10, 9])
- end
-
- on mouseDown
- global v, h, pGood
- set V1 to the mouseV
- set H1 to the mouseH
- set the locV of sprite 6 to V1
- set the locH of sprite 6 to H1
- updateStage()
- puppetSound("gunhot1")
- if ((V1 - 10) < v) and ((V1 + 10) > v) and ((H1 - 10) < h) and ((H1 + 10) > h) then
- puppetSound("scream")
- sound playFile 1, "scream"
- set pGood to pGood + 5
- set s to string(pGood)
- set the text of cast "points" to s
- updateStage()
- end if
- end
-