home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global ram, invOn, level, invCurs, invMask, plz1Door, plz2Door, cyd2Door, cyd4Door, cyd7Door
- if (the mouseCast = the number of cast "exitL") or (the mouseCast = the number of cast "exitL.alt") then
- cursor([2, 3])
- updateStage()
- else
- if (the mouseCast = the number of cast "exitR") or (the mouseCast = the number of cast "exitR.alt") then
- cursor([4, 5])
- updateStage()
- else
- if (the mouseCast = the number of cast "forward") and (invOn = 0) then
- cursor([6, 7])
- updateStage()
- else
- if the mouseCast = the number of cast "back" then
- cursor([8, 9])
- updateStage()
- else
- if the mouseCast = the number of cast "do" then
- if invOn = 1 then
- cursor([invCurs, invMask])
- else
- cursor([10, 11])
- end if
- updateStage()
- else
- if invOn = 0 then
- cursor(0)
- updateStage()
- else
- if invOn = 1 then
- cursor([invCurs, invMask])
- updateStage()
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- go(the frame)
- end
-