home *** CD-ROM | disk | FTP | other *** search
- on myNoEscape
- if the keyCode = 53 then
- dontPassEvent()
- updateStage()
- go("quitting")
- end if
- end
-
- on startMovie
- global languagechosen, obj, running, CDROMdrive, brandnumber
- set the exitLock to 1
- set the keyDownScript to "myNoEscape"
- sound stop 1
- sound stop 2
- set the name of castLib "English" to languagechosen
- set the fileName of castLib languagechosen to the pathName & languagechosen & ".cst"
- set the text of member "result" to "Default"
- openXLib("widget")
- set obj to widget(mnew)
- set running to 0
- set temp to string(brandnumber)
- put obj(mWriteGameINI, temp)
- set thebatchFileName to CDROMdrive & "\\max.pif"
- set GameHandle to obj(mWinExec, 0, CDROMdrive)
- go(the frame + 1)
- end
-
- on stopMovie
- puppetSprite(2, 0)
- puppetSprite(4, 0)
- puppetSprite(6, 0)
- closeXLib("widget")
- sound stop 1
- sound stop 2
- end
-