home *** CD-ROM | disk | FTP | other *** search
- global gonext
-
- on mouseDown
- set mh to the mouseH
- set mv to the mouseV
- if (mh > 356) and (mh < 386) and (mv > 198) and (mv < 228) then
- if the castNum of sprite 2 = 2 then
- set gonext to 1
- end if
- end if
- if the castNum of sprite 2 = 1 then
- if (mh > 360) and (mh < 376) and (mv > 237) and (mv < 253) then
- puppetSprite(2, 1)
- set the castNum of sprite 2 to 2
- end if
- else
- if (mh > 18) and (mh < 34) and (mv > 36) and (mv < 52) then
- puppetSprite(2, 1)
- set the castNum of sprite 2 to 1
- end if
- end if
- end
-