home *** CD-ROM | disk | FTP | other *** search
- on INTChooseQuit
- global DriveLtr, MainMenuChooseList, MainBackgroundSprite, MainHilightSprite1, MainHilightSprite2, MAINQuitButtonSprite
- set quitbuttonrectangle to rect(345, 524, 443, 626)
- set whereismouse to point(the mouseV, the mouseH)
- if inside(whereismouse, quitbuttonrectangle) = 1 then
- set the member of sprite MAINQuitButtonSprite to member "INTQuitTwo"
- set the loc of sprite MAINQuitButtonSprite to point(525, 345)
- set the ink of sprite MAINQuitButtonSprite to 0
- updateStage()
- repeat while inside(whereismouse, quitbuttonrectangle) = 1
- set whereismouse to point(the mouseV, the mouseH)
- if the mouseDown then
- set the member of sprite MAINQuitButtonSprite to member "INTQuitThree"
- updateStage()
- repeat while the mouseDown
- end repeat
- set whereismouse to point(the mouseV, the mouseH)
- if inside(whereismouse, quitbuttonrectangle) = 1 then
- set SecTLeave to 1
- else
- set SecTLeave to 0
- end if
- exit repeat
- end if
- end repeat
- set the member of sprite MAINQuitButtonSprite to member "INTQuitOne"
- updateStage()
- end if
- if SecTLeave = 1 then
- set SecTLeave to 0
- repeat with t = 1 to 48
- set the puppet of sprite t to 1
- set the locH of sprite t to 2000
- end repeat
- set the member of sprite 2 to member "DirLogo"
- set the loc of sprite 2 to point(315, 241)
- set the ink of sprite 2 to 0
- updateStage()
- startTimer()
- repeat while the timer < (2 * 60)
- end repeat
- quit()
- end if
- end
-