home *** CD-ROM | disk | FTP | other *** search
- on GESRolloverNoteIcon
- global GESRollReturn, GESReturnIcon, GESDesOnStage, GESPCList, GESSytemUnit, GESWhichXplor, GESNoteIcon
- if rollOver(GESNoteIcon) and the mouseUp then
- set GESRollReturn to 1
- set the castNum of sprite GESNoteIcon to the castNum of sprite GESNoteIcon + 1
- updateStage()
- repeat while rollOver(GESNoteIcon)
- 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 GESNoteIcon to the castNum of sprite GESNoteIcon - 1
- cursor(-1)
- updateStage()
- else
- set GESDesOnStage to 0
- repeat with x = 1 to count(GESPrinterList)
- if (getAt(getAt(GESPrinterList, x), 1) <> GESReturnIcon) and (getAt(getAt(GESPrinterList, x), 1) <> GESNoteIcon) then
- setAt(getAt(GESPrinterList, x), 2, the castNum of sprite getAt(getAt(GESPrinterList, x), 1))
- setAt(getAt(GESPrinterList, x), 3, the locH of sprite getAt(getAt(GESPrinterList, x), 1))
- setAt(getAt(GESPrinterList, x), 4, the locV of sprite getAt(getAt(GESPrinterList, x), 1))
- setAt(getAt(GESPrinterList, x), 5, the ink of sprite getAt(getAt(GESPrinterList, x), 1))
- end if
- if getAt(getAt(GESPrinterList, x), 1) <> 3 then
- set the locH of sprite getAt(getAt(GESPrinterList, x), 1) to 2000
- end if
- end repeat
- set the locH of sprite 37 to 2000
- cursor(-1)
- updateStage()
- set the locH of sprite 22 to 2000
- set the locH of sprite 20 to 2000
- updateStage()
- puppetPalette("NoteGes")
- updateStage()
- 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)
- set GESWhichXplor to 3
- GESExploreNoteBook()
- end if
- end if
- end
-