home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gIdiom, gThePhysic
- UnloadAllCasts()
- clearGlobals()
- if objectp(gThePhysic) then
- set theObject to gThePhysic(mGetObject)
- gThePhysic(mDetatchObjects)
- if objectp(theObject) then
- theObject(mFree)
- theObject(mdispose)
- end if
- gThePhysic(mFree)
- gThePhysic(mdispose)
- end if
- set gIdiom to the text of cast "TheIdiom"
- InitSpriteNums()
- InitPuppets()
- end
-