Difference between revisions of "Myst EXIT resources"

From A look inside The Link @ wiki
Jump to: navigation, search
m (Protected "Myst EXIT resources" [edit=autoconfirmed:move=autoconfirmed])
(corrections)
 
Line 1: Line 1:
 
{{Myst}}
 
{{Myst}}
  
Each EXIT resource contains a [[Myst scripts|script]] used when leaving a card.
+
Each EXIT resource contains an "extended" [[Myst scripts|script]] that's probably called when leaving the associated card.
  
== Format ==
+
The standard script structure is modified with an unknown field before each command opcode and another at the end, after the argument list. The former is usually in the range 0-9 and the latter is always 1.
{|class="structure"
+
|unsigned short||u0
+
|-
+
|[[Myst scripts|Myst Script]]||script
+
|-
+
|unsigned short||u1
+
|}
+
 
+
*''u0'' is usually 0-9.
+
*''script'' is the script used when exiting the card.
+
*''u1'' is always 1.
+

Latest revision as of 11:04, 19 September 2008

Myst
Mohawk Overview
CLRC EXIT HINT INIT
MJMP MSND PICT RLST
VIEW WDIB HELP RSFL
Scripts Variables

Each EXIT resource contains an "extended" script that's probably called when leaving the associated card.

The standard script structure is modified with an unknown field before each command opcode and another at the end, after the argument list. The former is usually in the range 0-9 and the latter is always 1.