home *** CD-ROM | disk | FTP | other *** search
- on GESExplorePc
- global GESPCLevelOneList, IFLGettingSNameSprite, GESPCBegin, GESPCTextList, GESDesOnStage, GESSytemUnit, GESPCList, GESInsidSysList, GESWhichXplor, GESBrown, GESGreen, GESPrinterList, GESPrinterfirst, GESNotebookList
- if GESDesOnStage = 0 then
- if GESPCBegin = 0 then
- if not rollOver(5) then
- set GESPCBegin to 1
- end if
- else
- repeat with f = 1 to count(GESPCLevelOneList)
- if rollOver(getAt(getAt(GESPCLevelOneList, f), 1)) or rollOver(getAt(getAt(GESPCLevelOneList, f), 2)) then
- if (f = 2) and (the mouseV > 252) then
- set f to 3
- end if
- if (f = 3) and (the mouseV < 252) then
- set f to 2
- end if
- if (f = 4) and rollOver(8) then
- set f to 5
- end if
- if (f = 4) and (rollOver(9) or rollOver(4)) then
- set f to 1
- end if
- if the mouseDown and (getAt(getAt(GESPCLevelOneList, f), 4) = 0) then
- if f = 3 then
- set GESSytemUnit to 1
- else
- set GESSytemUnit to 0
- end if
- repeat with z = 1 to count(GESPCLevelOneList)
- if getAt(getAt(GESPCLevelOneList, z), 4) = 1 then
- repeat with x = 5 to count(getAt(GESPCLevelOneList, z))
- set GESTempListTwo to getAt(GESPCLevelOneList, z)
- set the locH of sprite getAt(getAt(GESTempListTwo, x), 1) to 2000
- end repeat
- setAt(getAt(GESPCLevelOneList, z), 4, 0)
- end if
- if getAt(getAt(GESPCLevelOneList, z), 3) = 1 then
- set the castNum of sprite getAt(getAt(GESPCLevelOneList, z), 1) to the castNum of sprite getAt(getAt(GESPCLevelOneList, z), 1) - 1
- if z = 1 then
- set the castNum of sprite getAt(getAt(GESPCLevelOneList, z), 2) to the castNum of sprite getAt(getAt(GESPCLevelOneList, z), 2) - 1
- end if
- setAt(getAt(GESPCLevelOneList, z), 3, 0)
- end if
- end repeat
- setAt(getAt(GESPCLevelOneList, f), 4, 1)
- repeat with x = 5 to count(getAt(GESPCLevelOneList, f))
- set GESTempListTwo to getAt(GESPCLevelOneList, f)
- if count(getAt(GESTempListTwo, x)) > 1 then
- set the castNum of sprite getAt(getAt(GESTempListTwo, x), 1) to getAt(getAt(GESTempListTwo, x), 2)
- set the locH of sprite getAt(getAt(GESTempListTwo, x), 1) to getAt(getAt(GESTempListTwo, x), 3)
- set the locV of sprite getAt(getAt(GESTempListTwo, x), 1) to getAt(getAt(GESTempListTwo, x), 4)
- end if
- end repeat
- end if
- if (getAt(getAt(GESPCLevelOneList, f), 3) = 0) or (GESPCBegin = 1) then
- if GESPCBegin = 2 then
- set the castNum of sprite getAt(getAt(GESPCLevelOneList, f), 1) to the castNum of sprite getAt(getAt(GESPCLevelOneList, f), 1) + 1
- if f = 1 then
- set the castNum of sprite getAt(getAt(GESPCLevelOneList, f), 2) to the castNum of sprite getAt(getAt(GESPCLevelOneList, f), 2) + 1
- end if
- updateStage()
- end if
- set GESPCBegin to 2
- repeat with d = 1 to count(GESPCLevelOneList)
- if (getAt(getAt(GESPCLevelOneList, d), 3) = 1) and (d <> f) then
- if getAt(getAt(GESPCLevelOneList, d), 4) = 0 then
- set the castNum of sprite getAt(getAt(GESPCLevelOneList, d), 1) to the castNum of sprite getAt(getAt(GESPCLevelOneList, d), 1) - 1
- if d = 1 then
- set the castNum of sprite getAt(getAt(GESPCLevelOneList, d), 2) to the castNum of sprite getAt(getAt(GESPCLevelOneList, d), 2) - 1
- end if
- updateStage()
- setAt(getAt(GESPCLevelOneList, d), 3, 0)
- end if
- end if
- end repeat
- setAt(getAt(GESPCLevelOneList, f), 3, 1)
- end if
- next repeat
- end if
- if GESPCBegin = 2 then
- if (getAt(getAt(GESPCLevelOneList, f), 3) = 1) and (getAt(getAt(GESPCLevelOneList, f), 4) = 0) then
- set the castNum of sprite getAt(getAt(GESPCLevelOneList, f), 1) to the castNum of sprite getAt(getAt(GESPCLevelOneList, f), 1) - 1
- if f = 1 then
- set the castNum of sprite getAt(getAt(GESPCLevelOneList, f), 2) to the castNum of sprite getAt(getAt(GESPCLevelOneList, f), 2) - 1
- end if
- updateStage()
- setAt(getAt(GESPCLevelOneList, f), 3, 0)
- end if
- end if
- end repeat
- end if
- else
- if (GESDesOnStage = 2) and the mouseUp then
- set GESDesOnStage to 0
- set the locH of sprite 33 to 200
- set the locV of sprite 33 to 200
- set the locH of sprite 35 to 200
- set the locV of sprite 35 to 229
- end if
- end if
- if GESSytemUnit = 1 then
- if rollOver(12) then
- set the castNum of sprite 12 to the castNum of sprite 12 + 1
- updateStage()
- repeat while rollOver(12)
- cursor([48, 49])
- if the mouseDown then
- set GESDesOnStage to 3
- exit repeat
- end if
- end repeat
- if GESDesOnStage <> 3 then
- set the castNum of sprite 12 to the castNum of sprite 12 - 1
- end if
- updateStage()
- end if
- end if
- if GESDesOnStage = 3 then
- cursor(4)
- updateStage()
- set GESDesOnStage to 4
- repeat with x = 1 to count(GESPCList)
- if getAt(getAt(GESPCList, x), 1) <> 12 then
- setAt(getAt(GESPCList, x), 2, the castNum of sprite getAt(getAt(GESPCList, x), 1))
- setAt(getAt(GESPCList, x), 3, the locH of sprite getAt(getAt(GESPCList, x), 1))
- setAt(getAt(GESPCList, x), 4, the locV of sprite getAt(getAt(GESPCList, x), 1))
- setAt(getAt(GESPCList, x), 5, the ink of sprite getAt(getAt(GESPCList, x), 1))
- end if
- set the locH of sprite getAt(getAt(GESPCList, x), 1) to 2000
- end repeat
- repeat with x = 1 to count(GESInsidSysList)
- set the castNum of sprite getAt(getAt(GESInsidSysList, x), 1) to getAt(getAt(GESInsidSysList, x), 2)
- set the locH of sprite getAt(getAt(GESInsidSysList, x), 1) to getAt(getAt(GESInsidSysList, x), 3)
- set the locV of sprite getAt(getAt(GESInsidSysList, x), 1) to getAt(getAt(GESInsidSysList, x), 4)
- set the ink of sprite getAt(getAt(GESInsidSysList, x), 1) to getAt(getAt(GESInsidSysList, x), 5)
- end repeat
- updateStage()
- cursor(-1)
- end if
- if GESDesOnStage = 4 then
- set GESWhichXplor to 1
- GESInsideSystem()
- end if
- if rollOver(33) then
- set the locH of sprite 28 to 2000
- set the locH of sprite 31 to 2000
- set the castNum of sprite 33 to the castNum of sprite 33 + 1
- updateStage()
- repeat while rollOver(33)
- cursor([48, 49])
- if the mouseDown then
- set GESDesOnStage to 8
- repeat while the mouseDown
- end repeat
- exit repeat
- end if
- end repeat
- if GESDesOnStage <> 8 then
- set the castNum of sprite 33 to the castNum of sprite 33 - 1
- end if
- cursor(-1)
- updateStage()
- end if
- if GESDesOnStage = 8 then
- set GESDesOnStage to 9
- repeat with x = 1 to count(GESPCList)
- if (getAt(getAt(GESPCList, x), 1) <> 12) and (getAt(getAt(GESPCList, x), 1) <> 33) and (getAt(getAt(GESPCList, x), 1) <> 35) then
- setAt(getAt(GESPCList, x), 2, the castNum of sprite getAt(getAt(GESPCList, x), 1))
- setAt(getAt(GESPCList, x), 3, the locH of sprite getAt(getAt(GESPCList, x), 1))
- setAt(getAt(GESPCList, x), 4, the locV of sprite getAt(getAt(GESPCList, x), 1))
- setAt(getAt(GESPCList, x), 5, the ink of sprite getAt(getAt(GESPCList, x), 1))
- end if
- if getAt(getAt(GESPCList, x), 1) <> 3 then
- set the locH of sprite getAt(getAt(GESPCList, x), 1) to 2000
- end if
- end repeat
- cursor(4)
- updateStage()
- if GESPrinterfirst = 1 then
- repeat with x = 1 to count(GESPrinterList)
- set the castNum of sprite getAt(getAt(GESPrinterList, x), 1) to getAt(getAt(GESPrinterList, x), 2)
- set the locH of sprite getAt(getAt(GESPrinterList, x), 1) to getAt(getAt(GESPrinterList, x), 3)
- set the locV of sprite getAt(getAt(GESPrinterList, x), 1) to getAt(getAt(GESPrinterList, x), 4)
- set the ink of sprite getAt(getAt(GESPrinterList, x), 1) to getAt(getAt(GESPrinterList, x), 5)
- end repeat
- else
- set GESPrinterfirst to 1
- repeat with x = 1 to count(GESPrinterIntroScreenList)
- set the castNum of sprite getAt(getAt(GESPrinterIntroScreenList, x), 1) to getAt(getAt(GESPrinterIntroScreenList, x), 2)
- set the locH of sprite getAt(getAt(GESPrinterIntroScreenList, x), 1) to getAt(getAt(GESPrinterIntroScreenList, x), 3)
- set the locV of sprite getAt(getAt(GESPrinterIntroScreenList, x), 1) to getAt(getAt(GESPrinterIntroScreenList, x), 4)
- set the ink of sprite getAt(getAt(GESPrinterIntroScreenList, x), 1) to getAt(getAt(GESPrinterIntroScreenList, x), 5)
- end repeat
- end if
- updateStage()
- cursor(-1)
- end if
- if GESDesOnStage = 9 then
- set GESDesOnStage to 0
- set GESWhichXplor to 2
- GESExplorePrinters()
- end if
- if rollOver(35) then
- set the castNum of sprite 35 to the castNum of sprite 35 + 1
- updateStage()
- repeat while rollOver(35)
- cursor([48, 49])
- if the mouseDown then
- set GESDesOnStage to 14
- repeat while the mouseDown
- end repeat
- exit repeat
- end if
- end repeat
- if GESDesOnStage <> 14 then
- set the castNum of sprite 35 to the castNum of sprite 35 - 1
- end if
- cursor(-1)
- updateStage()
- end if
- if GESDesOnStage = 14 then
- set GESDesOnStage to 15
- repeat with x = 1 to count(GESPCList)
- if (getAt(getAt(GESPCList, x), 1) <> 12) and (getAt(getAt(GESPCList, x), 1) <> 33) and (getAt(getAt(GESPCList, x), 1) <> 35) then
- setAt(getAt(GESPCList, x), 2, the castNum of sprite getAt(getAt(GESPCList, x), 1))
- setAt(getAt(GESPCList, x), 3, the locH of sprite getAt(getAt(GESPCList, x), 1))
- setAt(getAt(GESPCList, x), 4, the locV of sprite getAt(getAt(GESPCList, x), 1))
- setAt(getAt(GESPCList, x), 5, the ink of sprite getAt(getAt(GESPCList, x), 1))
- end if
- if getAt(getAt(GESPCList, x), 1) <> 3 then
- set the locH of sprite getAt(getAt(GESPCList, x), 1) to 2000
- end if
- end repeat
- cursor(4)
- updateStage()
- puppetPalette("NoteGes")
- repeat with x = 1 to count(GESNotebookList)
- set the castNum of sprite getAt(getAt(GESNotebookList, x), 1) to getAt(getAt(GESNotebookList, x), 2)
- set the locH of sprite getAt(getAt(GESNotebookList, x), 1) to getAt(getAt(GESNotebookList, x), 3)
- set the locV of sprite getAt(getAt(GESNotebookList, x), 1) to getAt(getAt(GESNotebookList, x), 4)
- set the ink of sprite getAt(getAt(GESNotebookList, x), 1) to getAt(getAt(GESNotebookList, x), 5)
- end repeat
- updateStage()
- cursor(-1)
- end if
- if GESDesOnStage = 15 then
- set GESDesOnStage to 0
- set GESWhichXplor to 3
- GESExploreNoteBook()
- end if
- set GESNum to the mouseCast
- GESPCINFO(GESNum)
- GESBuyingTips()
- end
-