home *** CD-ROM | disk | FTP | other *** search
- on FAEQuitCD
- global FAEQuittingList, IFLQuitsprite, FAEQuitCounter, FAEChooseQuit
- if rollOver(IFLQuitsprite) then
- repeat with t = 1 to count(FAEQuittingList)
- if t <> 1 then
- setAt(getAt(FAEQuittingList, t), 2, the castNum of sprite getAt(getAt(FAEQuittingList, t), 1))
- end if
- set the castNum of sprite getAt(getAt(FAEQuittingList, t), 1) to getAt(getAt(FAEQuittingList, t), 3)
- set the ink of sprite getAt(getAt(FAEQuittingList, t), 1) to getAt(getAt(FAEQuittingList, t), 5)
- end repeat
- updateStage()
- repeat while rollOver(IFLQuitsprite)
- if the mouseDown then
- set FAEChooseQuit to 1
- set the castNum of sprite 48 to 149
- set the locH of sprite 48 to 500
- set the locV of sprite 48 to 420
- set the ink of sprite 48 to 39
- set the castNum of sprite IFLQuitsprite to 148
- repeat with t = 3 to 7
- set the ink of sprite t to 37
- end repeat
- updateStage()
- exit repeat
- end if
- end repeat
- if FAEChooseQuit = 1 then
- repeat while 1
- set FAEQuitCounter to 1 + FAEQuitCounter
- wait(0.002)
- if FAEQuitCounter = 30 then
- set the castNum of sprite 48 to the castNum of sprite 48 + 1
- updateStage()
- else
- if FAEQuitCounter = 60 then
- set FAEQuitCounter to 0
- set the castNum of sprite 48 to the castNum of sprite 48 - 1
- updateStage()
- end if
- end if
- if (the mouseH > 548) and (the mouseH < 605) and (the mouseV > 431) and (the mouseV < 469) and the mouseDown then
- set the locH of sprite 48 to 2000
- set FAEQuitCounter to 0
- set FAEChooseQuit to 0
- repeat with t = 3 to 7
- set the ink of sprite t to 36
- end repeat
- exit repeat
- end if
- if (the mouseH > 442) and (the mouseH < 504) and (the mouseV > 431) and (the mouseV < 469) and the mouseDown then
- set FAEQuitCounter to 0
- set FAEChooseQuit to 2
- exit repeat
- end if
- end repeat
- end if
- if FAEChooseQuit = 0 then
- repeat with t = 1 to count(FAEQuittingList)
- set the castNum of sprite getAt(getAt(FAEQuittingList, t), 1) to getAt(getAt(FAEQuittingList, t), 2)
- set the ink of sprite getAt(getAt(FAEQuittingList, t), 1) to getAt(getAt(FAEQuittingList, t), 4)
- end repeat
- updateStage()
- end if
- end if
- if FAEChooseQuit = 2 then
- repeat with t = 1 to 48
- puppetSprite(t, 0)
- end repeat
- forget(window "TRYMULTI")
- go("Credits")
- updateStage()
- end if
- end
-