home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- if the clickOn = 41 then
- if the visible of sprite 46 = 0 then
- door_Move()
- puppetSprite(42, 1)
- set the castNum of sprite 42 to 15
- updateStage()
- puppetSprite(42, 0)
- end if
- changeMovie("Mars.dir", 1)
- exit
- end if
- if the clickOn = 45 then
- if the visible of sprite 46 = 0 then
- door_Move()
- puppetSprite(42, 1)
- set the castNum of sprite 42 to 15
- updateStage()
- puppetSprite(42, 0)
- end if
- changeMovie("Close.dir", 1)
- exit
- end if
- if the clickOn = 44 then
- if the visible of sprite 46 = 0 then
- door_Move()
- puppetSprite(42, 1)
- set the castNum of sprite 42 to 15
- updateStage()
- puppetSprite(42, 0)
- end if
- changeMovie("Attic.dir", "Please Wait")
- exit
- end if
- puppetSprite(42, 1)
- puppetSprite(43, 1)
- if the visible of sprite 46 = 0 then
- set the castNum of sprite 42 to 18
- if the castNum of sprite 43 = 24 then
- set the castNum of sprite 43 to 25
- else
- set the castNum of sprite 43 to 24
- end if
- else
- if (the castNum of sprite 42 = 16) or (the castNum of sprite 42 = 18) then
- set the castNum of sprite 42 to 15
- else
- set the castNum of sprite 42 to 16
- end if
- end if
- wait(8)
- go(the frame)
- end
-