Open main menu

Difference between revisions of "SCUMM/V6 opcodes"

466 bytes added ,  08:54, 7 May 2007
→‎startScript: added from website
(→‎quitPauseRestart: added from website)
(→‎startScript: added from website)
Line 751: Line 751:


==startScript==
==startScript==
'''Encoding'''
''5F''
'''Stack'''
''( script ,  arg0 ,  arg1 ,  arg2 , ...,  argn ,  n  : -)''
'''Operation'''
A new thread is started, running the code in the script whose resource number is ''script''. arg0 .. argn form the thread's initial local variables; unspecified variables are not initialised to any specific value.
The new thread starts executing immediately and the current thread is put into the PENDING state until the new thread is descheduled.


==MM 5E startScriptEx==
==MM 5E startScriptEx==
334

edits