24
edits
m (SCUMM/Script resources moved to SCUMM/Technical Reference/Script resources: Trying to unify all SCUMM tech ref material) |
|||
Line 24: | Line 24: | ||
== Local Scripts (LS or LSCR) == | == Local Scripts (LS or LSCR) == | ||
Local scripts are stored within a room. | Local scripts are stored within a room. For games until version 6, the first byte after the blockname contains the id of the script. IDs for local scripts always start at 200. | ||
Block name 2 ("LS") or 4 ("LSCR") bytes | Block name 2 ("LS") or 4 ("LSCR") bytes | ||
Line 31: | Line 31: | ||
Script code variable | Script code variable | ||
For v7 and v8 games the script id is stored in 2 bytes and starts with 2000. | |||
Block name 4 bytes ("LSCR") | |||
Block size 4 bytes | |||
ID 2 bytes | |||
Script code variable | |||
== Room Entry Scripts (EN or ENCD) == | == Room Entry Scripts (EN or ENCD) == |
edits