home *** CD-ROM | disk | FTP | other *** search
- on handleMouseUpOBJau360
- global gMouseDownLocVR, gCatenaccio
- set offs to point(2, 2)
- set p to point(mouseH(), mouseV())
- if inside(gMouseDownLocVR, rect(p - offs, p + offs)) then
- set id to the hotSpotID of sprite(2)
- case id of
- 129, 251:
- if gCatenaccio = #testa then
- set oldLevel to the volume of sound 2
- set the volume of sound 2 to 40
- puppetSound(1, "omo7")
- repeat while soundBusy(1)
- nothing()
- end repeat
- set the volume of sound 2 to oldLevel
- go(#next)
- set the MouseUpHandler of sprite(1) to EMPTY
- else
- if gCatenaccio <> #mani then
- set oldLevel to the volume of sound 2
- set the volume of sound 2 to 40
- puppetSound(1, "omo7")
- repeat while soundBusy(1)
- nothing()
- end repeat
- set the volume of sound 2 to oldLevel
- set gCatenaccio to #mani
- end if
- end if
- 168, 169, 132, 133, 138, 175:
- if gCatenaccio = #mani then
- set oldLevel to the volume of sound 2
- set the volume of sound 2 to 40
- puppetSound(1, "omo6")
- repeat while soundBusy(1)
- nothing()
- end repeat
- set the volume of sound 2 to oldLevel
- go(#next)
- set the MouseUpHandler of sprite(1) to EMPTY
- else
- if gCatenaccio <> #testa then
- set oldLevel to the volume of sound 2
- set the volume of sound 2 to 40
- puppetSound(1, "omo6")
- repeat while soundBusy(1)
- nothing()
- end repeat
- set the volume of sound 2 to oldLevel
- set gCatenaccio to #testa
- end if
- end if
- end case
- end if
- end
-