home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global n, o, p, q, r, s, t, u
- puppetTempo(2)
- set n to 0
- set o to 0
- set p to 0
- set q to 0
- set r to 0
- puppetSprite(1, 1)
- puppetSprite(2, 1)
- puppetSprite(3, 1)
- puppetSprite(4, 1)
- end
-
- on switch
- global n, o, p, q, r, s, t, u, z
- repeat while soundBusy(1) = 1
- set z to z + 0
- end repeat
- if rollOver(1) then
- set o to the castNum of sprite 1
- set n to random(3) + 1
- repeat while o = n
- set n to random(3) + 1
- end repeat
- set the castNum of sprite 1 to n
- puppetSound("pola.aiff")
- end if
- repeat while soundBusy(1) = 1
- set z to z + 0
- end repeat
- if rollOver(2) then
- set q to the castNum of sprite 2
- set p to random(3) + 4
- repeat while q = p
- set p to random(3) + 4
- end repeat
- set the castNum of sprite 2 to p
- puppetSound("aud.aiff")
- end if
- repeat while soundBusy(1) = 1
- set z to z + 0
- end repeat
- if rollOver(3) then
- set s to the castNum of sprite 3
- set r to random(3) + 7
- repeat while r = s
- set r to random(3) + 7
- end repeat
- set the castNum of sprite 3 to r
- puppetSound("te.aiff")
- end if
- repeat while soundBusy(1) = 1
- set z to z + 0
- end repeat
- if rollOver(4) then
- set u to the castNum of sprite 4
- set t to random(2) + 20
- repeat while t = u
- set t to random(2) + 20
- end repeat
- set the castNum of sprite 4 to t
- puppetSound("splain.aiff")
- end if
- repeat while soundBusy(1) = 1
- set z to z + 0
- end repeat
- end
-