home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global erro, forca, acerto, fim
- if fim = 0 then
- repeat with x = 30 to 37
- if the castNum of sprite 8 = the castNum of sprite x then
- set the puppet of sprite x to 1
- set the visible of sprite x to 1
- set erro to 1
- end if
- end repeat
- if erro = 0 then
- set the puppet of sprite (forca + 1) to 1
- set the visible of sprite (forca + 1) to 1
- set forca to forca + 1
- chora()
- if the visible of sprite 43 = 1 then
- set fim to 1
- puppetSound("chora")
- else
- puppetSound("bee")
- end if
- else
- fim()
- if acerto = 1 then
- set fim to 1
- puppetSound("aplauso")
- else
- puppetSound("gong")
- end if
- end if
- end if
- end
-
- on mouseDown
- global erro
- set erro to 0
- end
-