home *** CD-ROM | disk | FTP | other *** search
- on GESPrinterInfo GESNum
- global GESPrinterTextList, GESWhichPrinterChosen, GesPrinterIntro, GESPCTextList, GESMouseWordList, GESDesOnStage, GESLastText, GESTempWhichPic, GESPCTextListOne, GESPCTextListTwo, GESWhichXplor, GESReturnIcon, GESBrown, GESGreen, GESThisDEScription, GESPrinterIntroScreenList
- repeat with d = 1 to count(GESPrinterTextList)
- set TempWhichNum to getAt(getAt(GESPrinterTextList, d), 1)
- set TemPList to getAt(GESPrinterTextList, d)
- if (TempWhichNum = GESNum) and the mouseUp then
- set GESThisDEScription to TempWhichNum
- repeat while the mouseCast = TempWhichNum
- repeat with z = 2 to count(TemPList)
- if (GESLastText = 0) or (GESLastText <> TempWhichNum) then
- set GESLastText to TempWhichNum
- end if
- if (getAt(getAt(TemPList, z), 2) = 1) and (line the mouseLine of field 302 <> getAt(getAt(TemPList, z), 1)) then
- setAt(getAt(TemPList, z), 2, 0)
- cursor(-1)
- end if
- set GESCurrentWord to line the mouseLine of field 302
- if GESCurrentWord = getAt(getAt(TemPList, z), 1) then
- if getAt(getAt(TemPList, z), 3) = 0 then
- setAt(getAt(TemPList, z), 2, 1)
- cursor([48, 49])
- updateStage()
- end if
- if the mouseDown and (getAt(getAt(TemPList, z), 3) = 0) then
- if line the mouseLine of field 302 = "Intro Screen" then
- set GESDesOnStage to 0
- repeat with d = 1 to count(GESPrinterIntroScreenList)
- set the castNum of sprite getAt(getAt(GESPrinterIntroScreenList, d), 1) to getAt(getAt(GESPrinterIntroScreenList, d), 2)
- set the locH of sprite getAt(getAt(GESPrinterIntroScreenList, d), 1) to getAt(getAt(GESPrinterIntroScreenList, d), 3)
- set the locV of sprite getAt(getAt(GESPrinterIntroScreenList, d), 1) to getAt(getAt(GESPrinterIntroScreenList, d), 4)
- set the ink of sprite getAt(getAt(GESPrinterIntroScreenList, d), 1) to getAt(getAt(GESPrinterIntroScreenList, d), 5)
- end repeat
- updateStage()
- set TempWord to 8
- cursor(-1)
- addAt(GESMouseWordList, count(GESMouseWordList) + 1, TempWord)
- if count(GESMouseWordList) > 1 then
- set the foreColor of line getAt(GESMouseWordList, 1) of field GESLastText to GESBrown
- updateStage()
- setAt(GESMouseWordList, 1, getAt(GESMouseWordList, 2))
- deleteAt(GESMouseWordList, 2)
- repeat with f = 2 to count(TemPList)
- if (getAt(getAt(TemPList, f), 3) = 1) and (z <> f) then
- setAt(getAt(TemPList, f), 3, 0)
- end if
- end repeat
- end if
- set GesPrinterIntro to 0
- repeat while the mouseDown
- end repeat
- next repeat
- end if
- set the locH of sprite 11 to 2000
- set the locH of sprite 8 to 2000
- set the foreColor of line the mouseLine of field 302 to GESGreen
- set TempWord to the mouseLine
- cursor(-1)
- setAt(getAt(TemPList, z), 3, 1)
- repeat with s = 4 to count(getAt(TemPList, z))
- set TemPListThree to getAt(TemPList, z)
- if count(getAt(TemPListThree, s)) > 1 then
- case GESWhichPrinterChosen of
- 1:
- set the castNum of sprite getAt(getAt(TemPListThree, s), 1) to getAt(getAt(TemPListThree, s), 2)
- 2:
- set the castNum of sprite getAt(getAt(TemPListThree, s), 1) to getAt(getAt(TemPListThree, s), 6)
- 3:
- set the castNum of sprite getAt(getAt(TemPListThree, s), 1) to getAt(getAt(TemPListThree, s), 7)
- end case
- set the locH of sprite getAt(getAt(TemPListThree, s), 1) to getAt(getAt(TemPListThree, s), 3)
- set the locV of sprite getAt(getAt(TemPListThree, s), 1) to getAt(getAt(TemPListThree, s), 4)
- set the ink of sprite getAt(getAt(TemPListThree, s), 1) to getAt(getAt(TemPListThree, s), 5)
- next repeat
- end if
- set the locH of sprite getAt(getAt(TemPListThree, s), 1) to 2000
- end repeat
- updateStage()
- setAt(getAt(TemPList, z), 3, 1)
- addAt(GESMouseWordList, count(GESMouseWordList) + 1, TempWord)
- set GESDesOnStage to 1
- if count(GESMouseWordList) > 1 then
- set the foreColor of line getAt(GESMouseWordList, 1) of field GESLastText to GESBrown
- updateStage()
- setAt(GESMouseWordList, 1, getAt(GESMouseWordList, 2))
- deleteAt(GESMouseWordList, 2)
- repeat with f = 2 to count(TemPList)
- if (getAt(getAt(TemPList, f), 3) = 1) and (z <> f) then
- setAt(getAt(TemPList, f), 3, 0)
- end if
- end repeat
- end if
- end if
- end if
- end repeat
- end repeat
- end if
- if getAt(TemPList, 1) = GESThisDEScription then
- repeat with z = 2 to count(TemPList)
- repeat with x = 5 to count(getAt(TemPList, z))
- if count(getAt(getAt(TemPList, z), x)) = 1 then
- set TempWhichPic to 0
- exit repeat
- next repeat
- end if
- if count(getAt(getAt(TemPList, z), x)) = 6 then
- set GESTempWhichPic to getAt(getAt(TemPList, z), x)
- end if
- end repeat
- case GESWhichPrinterChosen of
- 1:
- set ThisPrinter to 2
- 2:
- set ThisPrinter to 6
- 3:
- set ThisPrinter to 7
- end case
- if (the mouseCast = getAt(getAt(getAt(TemPList, z), 4), ThisPrinter)) and the mouseUp then
- repeat while the mouseCast = getAt(getAt(getAt(TemPList, z), 4), ThisPrinter)
- cursor([48, 49])
- if the mouseDown then
- set the loc of sprite 11 to point(200, 200)
- set the loc of sprite 8 to point(200, 229)
- set GESDesOnStage to 2
- set the locH of sprite getAt(getAt(getAt(TemPList, z), 4), 1) to 2000
- set the castNum of sprite getAt(getAt(getAt(TemPList, z), 4), 1) to 50
- repeat with x = 5 to count(getAt(TemPList, z))
- if count(getAt(getAt(TemPList, z), x)) > 1 then
- set the locH of sprite getAt(getAt(getAt(TemPList, z), x), 1) to 2000
- set the castNum of sprite getAt(getAt(getAt(TemPList, z), x), 1) to 50
- end if
- end repeat
- set the foreColor of line getAt(GESMouseWordList, 1) of field GESLastText to GESBrown
- repeat with f = 2 to count(TemPList)
- if getAt(getAt(TemPList, f), 3) = 1 then
- setAt(getAt(TemPList, f), 3, 0)
- end if
- end repeat
- updateStage()
- set GESMouseWordList to list()
- end if
- end repeat
- cursor(-1)
- end if
- if (the mouseCast = the castNum of sprite 22) and (the castNum of sprite 22 <> -1) then
- cursor([48, 49])
- updateStage()
- repeat while rollOver(22)
- if the mouseDown then
- set the castNum of sprite 22 to -1
- set the locH of sprite 2 to 2000
- cursor(-1)
- updateStage()
- end if
- end repeat
- updateStage()
- cursor(-1)
- end if
- end repeat
- end if
- end repeat
- end
-