home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global framecount, framecount2, bannernumber, swisscount, audiocount
- if the visible of sprite 34 = 0 then
- set framecount2 to framecount2 + 1
- set framecount to framecount + 1
- if audiocount = 0 then
- playsound(0)
- end if
- set audiocount to audiocount - 1
- puppetSprite(14, 1)
- repeat with i = 5 to 17
- if rollOver(i + 15) then
- set the visible of sprite i to 1
- next repeat
- end if
- set the visible of sprite i to 0
- end repeat
- if framecount2 = 30 then
- set framecount2 to 0
- set swisscount to swisscount + 1
- if swisscount = 3 then
- set swisscount to 1
- end if
- setswiss()
- end if
- if framecount = 45 then
- set framecount to 0
- set bannernumber to bannernumber + 1
- if bannernumber = 13 then
- set bannernumber to 1
- end if
- setbanner(bannernumber)
- end if
- else
- repeat with i = 35 to 37
- if rollOver(i) then
- set the visible of sprite (i + 3) to 1
- next repeat
- end if
- set the visible of sprite (i + 3) to 0
- end repeat
- end if
- go(the frame)
- end
-