home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gMusic, gReadVoice1, gReadVoice2, gReadVoice3, gReadVoice4, gPageNumber
- if gMusic = 0 then
- sound stop 2
- end if
- set gReadVoice1 to 1
- set gReadVoice2 to 1
- set gReadVoice3 to 1
- set gReadVoice4 to 1
- if gPageNumber = 20 then
- set the volume of sound 2 to 170
- else
- if gPageNumber = 6 then
- set the volume of sound 2 to 200
- else
- if gPageNumber = 3 then
- set the volume of sound 2 to 180
- else
- if gPageNumber = 5 then
- set the volume of sound 2 to 170
- else
- if gPageNumber = 7 then
- set the volume of sound 2 to 200
- else
- if gPageNumber = 8 then
- set the volume of sound 2 to 200
- else
- if gPageNumber = 9 then
- set the volume of sound 2 to 200
- else
- if gPageNumber = 11 then
- set the volume of sound 2 to 170
- else
- if gPageNumber = 12 then
- set the volume of sound 2 to 200
- else
- if gPageNumber = 13 then
- set the volume of sound 2 to 170
- else
- if gPageNumber = 16 then
- set the volume of sound 2 to 170
- else
- if gPageNumber = 17 then
- set the volume of sound 2 to 160
- else
- if gPageNumber = 18 then
- set the volume of sound 2 to 180
- else
- if gPageNumber = 19 then
- set the volume of sound 2 to 170
- else
- if gPageNumber = 20 then
- set the volume of sound 2 to 200
- else
- set the volume of sound 2 to 256
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-