home *** CD-ROM | disk | FTP | other *** search
- on GESExploreNoteBook
- global GESReturnIcon, GESDesOnStage, GESPCBegin, GESInsidSysList, GESPCList, GESPCLevelOneList, GESInsideLevelOneList, GESInsideTextIntroSprite, GESRollReturn, GESWhichXplor, GESInsThisDes, GESBrown, GESGreen, GESBlack, GESSytemUnit, GESNoteAllBlue, GESHeadList, IFLSpriteDifference, GTSLASTRolledover, GESPrinterfirst, GESPrinterList, GESPrinterIntroScreenList, GESNoteLevelOneList, GESNotefirst
- if GESDesOnStage = 0 then
- if rollOver(4) and the mouseUp then
- set GESLeaveNote to 0
- repeat while rollOver(4) and not rollOver(GESReturnIcon) and not rollOver(16)
- repeat with t = 37 to 48
- if rollOver(t) then
- set GESLeaveNote to 1
- exit repeat
- end if
- end repeat
- if GESLeaveNote = 1 then
- set GESLeaveNote to 0
- exit repeat
- end if
- repeat with t = 39 to 47
- set WHICHHEADING to getAt(GESHeadList, t - IFLSpriteDifference)
- if (getAt(WHICHHEADING, 5) = 1) and not rollOver(t) then
- setAt(WHICHHEADING, 5, 0)
- if GTSLASTRolledover = t then
- set the castNum of sprite 31 to -1
- set the locH of sprite 31 to 2000
- updateStage()
- set the castNum of sprite 31 to 50
- updateStage()
- set GTSLASTRolledover to 0
- if the castNum of sprite getAt(WHICHHEADING, 7) <> the number of member "ALLNAmesGTS" then
- set the locH of sprite getAt(WHICHHEADING, 7) to 2000
- end if
- end if
- end if
- end repeat
- repeat with f = 1 to count(GESNoteLevelOneList)
- if the mouseCast = the castNum of sprite getAt(getAt(GESNoteLevelOneList, f), 1) then
- if the mouseDown and (getAt(getAt(GESNoteLevelOneList, f), 4) = 0) then
- if GESNotefirst = 0 then
- set GESNotefirst to 1
- set the ink of sprite 15 to 36
- updateStage()
- end if
- repeat with z = 1 to count(GESNoteLevelOneList)
- if getAt(getAt(GESNoteLevelOneList, z), 4) = 1 then
- repeat with x = 5 to count(getAt(GESNoteLevelOneList, z))
- set GESTempListTwo to getAt(GESNoteLevelOneList, z)
- set the locH of sprite getAt(getAt(GESTempListTwo, x), 1) to 2000
- end repeat
- set the castNum of sprite getAt(getAt(GESNoteLevelOneList, z), 1) to the castNum of sprite getAt(getAt(GESNoteLevelOneList, z), 1) - 1
- setAt(getAt(GESNoteLevelOneList, z), 3, 0)
- setAt(getAt(GESNoteLevelOneList, z), 4, 0)
- end if
- end repeat
- repeat with x = 5 to count(getAt(GESNoteLevelOneList, f))
- set GESTempListTwo to getAt(GESNoteLevelOneList, 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
- setAt(getAt(GESNoteLevelOneList, f), 4, 1)
- end if
- if getAt(getAt(GESNoteLevelOneList, f), 3) = 0 then
- set TestTwo to f
- set the castNum of sprite getAt(getAt(GESNoteLevelOneList, f), 1) to the castNum of sprite getAt(getAt(GESNoteLevelOneList, f), 1) + 1
- updateStage()
- setAt(getAt(GESNoteLevelOneList, f), 3, 1)
- end if
- next repeat
- end if
- if (getAt(getAt(GESNoteLevelOneList, f), 3) = 1) and (getAt(getAt(GESNoteLevelOneList, f), 4) = 0) then
- set the castNum of sprite getAt(getAt(GESNoteLevelOneList, f), 1) to the castNum of sprite getAt(getAt(GESNoteLevelOneList, f), 1) - 1
- updateStage()
- setAt(getAt(GESNoteLevelOneList, f), 3, 0)
- end if
- end repeat
- updateStage()
- end repeat
- repeat with f = 1 to count(GESNoteLevelOneList)
- if (getAt(getAt(GESNoteLevelOneList, f), 3) = 1) and (getAt(getAt(GESNoteLevelOneList, f), 4) = 0) then
- set the castNum of sprite getAt(getAt(GESNoteLevelOneList, f), 1) to the castNum of sprite getAt(getAt(GESNoteLevelOneList, f), 1) - 1
- updateStage()
- setAt(getAt(GESNoteLevelOneList, f), 3, 0)
- end if
- end repeat
- end if
- else
- if (GESDesOnStage = 2) and the mouseUp then
- set GESDesOnStage to 0
- set the loc of sprite 11 to point(200, 200)
- set the loc of sprite 16 to point(200, 229)
- end if
- end if
- if GESRollReturn = 1 then
- set GESRollReturn to 0
- cursor(-1)
- end if
- if rollOver(GESReturnIcon) and the mouseUp then
- set GESRollReturn to 1
- set the locH of sprite 28 to 2000
- set the locH of sprite 31 to 2000
- set the castNum of sprite GESReturnIcon to the castNum of sprite GESReturnIcon + 1
- updateStage()
- repeat while rollOver(GESReturnIcon)
- cursor([48, 49])
- if the mouseDown then
- repeat while the mouseDown
- end repeat
- set GESDesOnStage to 5
- exit repeat
- end if
- end repeat
- if GESDesOnStage <> 5 then
- set the castNum of sprite GESReturnIcon to the castNum of sprite GESReturnIcon - 1
- cursor(-1)
- updateStage()
- else
- set GESDesOnStage to 0
- repeat with x = 1 to count(GESNotebookList)
- if getAt(getAt(GESNotebookList, x), 1) <> GESReturnIcon then
- setAt(getAt(GESNotebookList, x), 2, the castNum of sprite getAt(getAt(GESNotebookList, x), 1))
- setAt(getAt(GESNotebookList, x), 3, the locH of sprite getAt(getAt(GESNotebookList, x), 1))
- setAt(getAt(GESNotebookList, x), 4, the locV of sprite getAt(getAt(GESNotebookList, x), 1))
- setAt(getAt(GESNotebookList, x), 5, the ink of sprite getAt(getAt(GESNotebookList, x), 1))
- end if
- if getAt(getAt(GESNotebookList, x), 1) <> 3 then
- set the locH of sprite getAt(getAt(GESNotebookList, x), 1) to 2000
- end if
- end repeat
- set the locH of sprite 37 to 2000
- cursor(-1)
- set the castNum of sprite 3 to 431
- cursor(4)
- updateStage()
- puppetPalette("GESMASTER")
- repeat with x = 1 to count(GESPCList)
- set the castNum of sprite getAt(getAt(GESPCList, x), 1) to getAt(getAt(GESPCList, x), 2)
- set the locH of sprite getAt(getAt(GESPCList, x), 1) to getAt(getAt(GESPCList, x), 3)
- set the locV of sprite getAt(getAt(GESPCList, x), 1) to getAt(getAt(GESPCList, x), 4)
- set the ink of sprite getAt(getAt(GESPCList, x), 1) to getAt(getAt(GESPCList, x), 5)
- end repeat
- if GESSytemUnit = 0 then
- set the locH of sprite 12 to 2000
- end if
- updateStage()
- cursor(-1)
- set GESWhichXplor to 0
- GESExplorePc()
- end if
- end if
- if rollOver(16) and the mouseUp then
- set GESRollReturn to 1
- set the castNum of sprite 16 to the castNum of sprite 16 + 1
- updateStage()
- repeat while rollOver(16)
- cursor([48, 49])
- if the mouseDown then
- repeat while the mouseDown
- end repeat
- set GESDesOnStage to 15
- exit repeat
- end if
- end repeat
- if GESDesOnStage <> 15 then
- set the castNum of sprite 16 to the castNum of sprite 16 - 1
- cursor(-1)
- updateStage()
- else
- set GESDesOnStage to 0
- repeat with x = 1 to count(GESNotebookList)
- if getAt(getAt(GESNotebookList, x), 1) <> 16 then
- setAt(getAt(GESNotebookList, x), 2, the castNum of sprite getAt(getAt(GESNotebookList, x), 1))
- setAt(getAt(GESNotebookList, x), 3, the locH of sprite getAt(getAt(GESNotebookList, x), 1))
- setAt(getAt(GESNotebookList, x), 4, the locV of sprite getAt(getAt(GESNotebookList, x), 1))
- setAt(getAt(GESNotebookList, x), 5, the ink of sprite getAt(getAt(GESNotebookList, x), 1))
- end if
- if getAt(getAt(GESNotebookList, x), 1) <> 3 then
- set the locH of sprite getAt(getAt(GESNotebookList, x), 1) to 2000
- end if
- end repeat
- set the locH of sprite 37 to 2000
- cursor(-1)
- set the castNum of sprite 3 to 431
- cursor(4)
- updateStage()
- puppetPalette("GESMASTER")
- 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)
- set GESDesOnStage to 0
- set GESWhichXplor to 2
- GESExplorePrinters()
- end if
- end if
- set GESNum to the mouseCast
- GESNOTEINFO(GESNum)
- GESBuyingNoteTips()
- end
-