home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global altezza, larghezza, messi2, DOVE
- if (larghezza < 99) or (larghezza > 444) or (altezza < 78) or (altezza > 342) then
- if (larghezza > 234) and (larghezza < 428) and (altezza > 381) and (altezza < 481) then
- set the visible of sprite 27 to 0
- Buttare()
- set c to getPos(messi2, 27)
- if c <> 0 then
- deleteAt(messi2, c)
- end if
- set the loc of sprite 27 to point(536, 197)
- else
- set the loc of sprite 27 to DOVE
- if getPos(messi2, 27) = 0 then
- append(messi2, 27)
- end if
- end if
- else
- if getPos(messi2, 27) = 0 then
- append(messi2, 27)
- end if
- end if
- end
-
- on mouseDown
- global DOVE, larghezza, altezza
- set larghezza to the mouseH
- set altezza to the mouseV
- set DOVE to the loc of sprite 27
- end
-