home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gQTstatus, gcurtype
- NavButtonClose()
- if gQTstatus and (the frameLabel = "qt") and (gcurtype = "movie") then
- set the movieRate of sprite 16 to 1
- end if
- pass()
- end
-
- on rollOvers
- global gChapters, gCurChap, gTotalChapters, gWorld, gQTbuttons, gcurtype
- DoNugget()
- repeat with i = 25 to 29
- if rollOver(i) then
- if (gWorld = "power") and (i = 25) then
- if rollOver(34) then
- exit
- end if
- set tmpcastnum to the castNum of sprite i
- set the castNum of sprite i to tmpcastnum + 1
- repeat while rollOver(i) and not (the mouseDown) and not rollOver(34)
- updateStage()
- end repeat
- set the castNum of sprite i to tmpcastnum
- else
- puppetSprite(48, 1)
- set the castNum of sprite 48 to the castNum of sprite i + 1
- set the locH of sprite 48 to the locH of sprite i
- set the locV of sprite 48 to the locV of sprite i
- if (gWorld = "discover") or (gWorld = "senses") then
- set tmpink to the ink of sprite 48
- set the ink of sprite 48 to 8
- end if
- updateStage()
- repeat while rollOver(48) and not (the mouseDown)
- updateStage()
- end repeat
- puppetSprite(48, 0)
- if (gWorld = "discover") or (gWorld = "senses") then
- set the ink of sprite 48 to tmpink
- end if
- end if
- exit
- end if
- end repeat
- if (the frameLabel = "qt") and ((gcurtype = "qt") or (gcurtype = "movie")) then
- if the type of sprite 16 = 16 then
- if the movieRate of sprite 16 then
- if the castNum of sprite 11 <> value(item 2 of gQTbuttons) then
- puppetSprite(11, 1)
- set the castNum of sprite 11 to value(item 2 of gQTbuttons)
- end if
- else
- if the castNum of sprite 11 <> value(item 1 of gQTbuttons) then
- puppetSprite(11, 1)
- set the castNum of sprite 11 to value(item 1 of gQTbuttons)
- set the movieTime of sprite 16 to 0
- end if
- end if
- end if
- end if
- end
-