home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global altezza, larghezza, trova, nalleluia
- if soundBusy(1) then
- sound stop 1
- end if
- crocitazze()
- if nalleluia = 0 then
- set p to point(larghezza, altezza)
- set d1 to rect(433, 71, 453, 97)
- set d2 to rect(399, 61, 419, 87)
- set d3 to rect(384, 92, 404, 118)
- set d4 to rect(420, 165, 440, 191)
- set d5 to rect(356, 250, 376, 276)
- set d6 to rect(321, 200, 341, 226)
- set d7 to rect(307, 257, 327, 283)
- set d8 to rect(423, 61, 443, 87)
- if inside(p, d1) and not (the visible of sprite 28) then
- giusto()
- set the visible of sprite 28 to 1
- setAt(trova, 1, 1)
- end if
- if inside(p, d2) and not (the visible of sprite 29) then
- giusto()
- set the visible of sprite 29 to 1
- setAt(trova, 2, 1)
- end if
- if inside(p, d3) and not (the visible of sprite 30) then
- giusto()
- set the visible of sprite 30 to 1
- setAt(trova, 3, 1)
- end if
- if inside(p, d4) and not (the visible of sprite 31) then
- giusto()
- set the visible of sprite 31 to 1
- setAt(trova, 4, 1)
- end if
- if inside(p, d5) and not (the visible of sprite 32) then
- giusto()
- set the visible of sprite 32 to 1
- setAt(trova, 5, 1)
- end if
- if inside(p, d6) and not (the visible of sprite 33) then
- giusto()
- set the visible of sprite 33 to 1
- setAt(trova, 6, 1)
- end if
- if inside(p, d7) and not (the visible of sprite 34) then
- giusto()
- set the visible of sprite 34 to 1
- setAt(trova, 7, 1)
- end if
- if inside(p, d8) and not (the visible of sprite 35) then
- giusto()
- set the visible of sprite 35 to 1
- setAt(trova, 8, 1)
- end if
- if trova = list(1, 1, 1, 1, 1, 1, 1, 1) then
- repeat while soundBusy(1)
- nothing()
- end repeat
- alleluia()
- set nalleluia to 1
- end if
- end if
- end
-