home *** CD-ROM | disk | FTP | other *** search
- on CYMoveLetters
- global CyMoveXno, CYLetterList, CRSelect
- repeat with t = 1 to count(CYLetterList)
- if rollOver(getAt(getAt(CYLetterList, t), 1)) then
- case getAt(getAt(CYLetterList, t), 2) of
- 0:
- setAt(getAt(CYLetterList, t), 2, 1)
- set CyMoveXno to 1 + CyMoveXno
- puppetSound("Crpick.aif")
- 1:
- repeat while getAt(getAt(CYLetterList, t), 2) = 1
- set the loc of sprite getAt(getAt(CYLetterList, t), 1) to point(the mouseH, the mouseV)
- updateStage()
- if sprite getAt(getAt(CYLetterList, t), 1) intersects 1 then
- set the castNum of sprite getAt(getAt(CYLetterList, t), 1) to the number of member getAt(getAt(CYLetterList, t), 3)
- set the loc of sprite getAt(getAt(CYLetterList, t), 1) to point(getAt(getAt(CYLetterList, t), 4), getAt(getAt(CYLetterList, t), 5))
- setAt(getAt(CYLetterList, t), 2, 2)
- set the ink of sprite getAt(getAt(CYLetterList, t), 1) to 36
- puppetSound(0)
- puppetSound("Crmag.aif")
- updateStage()
- case CyMoveXno of
- 6:
- set the castNum of sprite 1 to the number of member "CyFullBox"
- repeat with d = 2 to 7
- set the locH of sprite d to 2000
- end repeat
- updateStage()
- set the castNum of sprite 4 to the number of member "CrgreenDot"
- set the loc of sprite 4 to point(316, 364)
- updateStage()
- repeat while 1
- if the castNum of sprite 4 = the number of member "CrblueDot" then
- set the castNum of sprite 4 to the number of member "CrgreenDot"
- else
- set the castNum of sprite 4 to the castNum of sprite 4 + 1
- end if
- AdWait(0.10000000000000001)
- updateStage()
- if the mouseDown then
- if rollOver(4) then
- set CRSelect to 1
- set the castNum of sprite 1 to the number of member "CrOpenOne"
- set the castNum of sprite 4 to the number of member "CrgreenDot"
- updateStage()
- puppetSound(1, "dooropen")
- updateStage()
- repeat with f = 1 to 5
- set the castNum of sprite 1 to the castNum of sprite 1 + 1
- updateStage()
- end repeat
- set the castNum of sprite 5 to the number of member "CrLogodarkBox"
- set the loc of sprite 5 to point(410, 374)
- puppetSound("Crmag.aif")
- updateStage()
- repeat while soundBusy(1)
- end repeat
- set the castNum of sprite 6 to the number of member "CrTextOne"
- set the ink of sprite 6 to 36
- set the loc of sprite 6 to point(195, 63)
- puppetSound("Crpick.aif")
- updateStage()
- repeat while soundBusy(1)
- end repeat
- set the castNum of sprite 7 to the number of member "CrTextTwo"
- set the ink of sprite 7 to 36
- set the loc of sprite 7 to point(382, 63)
- puppetSound("Crpick.aif")
- updateStage()
- repeat while soundBusy(1)
- end repeat
- set the castNum of sprite 8 to the number of member "CrTextThree"
- set the ink of sprite 8 to 36
- set the loc of sprite 8 to point(313, 138)
- puppetSound("Crpick.aif")
- updateStage()
- repeat while soundBusy(1)
- end repeat
- set the castNum of sprite 9 to the number of member "CrTextFour"
- set the ink of sprite 9 to 36
- set the loc of sprite 9 to point(274, 211)
- puppetSound("Crpick.aif")
- updateStage()
- repeat while soundBusy(1)
- end repeat
- set the castNum of sprite 10 to the number of member "CrTextFive"
- set the ink of sprite 10 to 36
- set the loc of sprite 10 to point(486, 211)
- puppetSound("Crpick.aif")
- updateStage()
- repeat while soundBusy(1)
- end repeat
- set the castNum of sprite 11 to the number of member "CrTextSix"
- set the ink of sprite 11 to 36
- set the loc of sprite 11 to point(206, 283)
- puppetSound("Crpick.aif")
- updateStage()
- repeat while soundBusy(1)
- end repeat
- set the castNum of sprite 12 to the number of member "CrTextSeven"
- set the ink of sprite 12 to 36
- set the loc of sprite 12 to point(371, 283)
- puppetSound("Crpick.aif")
- updateStage()
- repeat while soundBusy(1)
- end repeat
- AdWait(1)
- set the castNum of sprite 1 to the castNum of sprite 1 + 1
- set the castNum of sprite 47 to the number of member "CrLogoTwo"
- set the loc of sprite 47 to the loc of sprite 5
- repeat with f = 5 to 12
- set the locH of sprite f to 2000
- end repeat
- set the castNum of sprite 42 to the castNum of sprite 1
- set the loc of sprite 42 to the loc of sprite 1
- updateStage()
- set the castNum of sprite 43 to the number of member "CRContentOne"
- set the loc of sprite 43 to point(200, 200)
- set the ink of sprite 43 to 36
- set the castNum of sprite 44 to the number of member "CRContentTwo"
- set the loc of sprite 44 to point(200, 200)
- set the ink of sprite 44 to 36
- set the castNum of sprite 45 to the number of member "CRContentThree"
- set the loc of sprite 45 to point(202, 317)
- set the ink of sprite 45 to 36
- set the castNum of sprite 48 to the number of member "EXITAD"
- set the loc of sprite 48 to point(10, 442)
- set the ink of sprite 48 to 36
- updateStage()
- exit repeat
- end if
- end if
- end repeat
- end case
- exit repeat
- end if
- end repeat
- end case
- end if
- end repeat
- end
-