Difference between revisions of "SCUMM/V5 opcodes"

Jump to navigation Jump to search
No change in size ,  00:52, 9 April 2009
m
→‎SCUMM V5 opcodes: re-arranged for clarity
(Restore erased data (I somehow broke the wiki); Table of Parameters now has its own page.)
m (→‎SCUMM V5 opcodes: re-arranged for clarity)
Line 9: Line 9:
|-
|-
|aux||An aux opcode that stores parameter bits and no other information.
|aux||An aux opcode that stores parameter bits and no other information.
|-
|sub-opcode||An aux opcode that indicates a specific function to perform (e.g. the "wait" instruction has sub-opcodes to "wait for message", "wait for actor" etc), as well as storing parameter bits if necessary.
|-
|-
|result||A result pointer. (A standard word pointer, always a LE word.)
|result||A result pointer. (A standard word pointer, always a LE word.)
|-
|sub-opcode||An aux opcode that indicates a specific function to perform (e.g. the "wait" instruction has sub-opcodes to "wait for message", "wait for actor" etc), as well as storing parameter bits if necessary
|-
|-
|var||A var pointer. Same as above, but is not written to. Because this is always a var, the opcode is not affected like with normal parameter/pointers.
|var||A var pointer. Same as above, but is not written to. Because this is always a var, the opcode is not affected like with normal parameter/pointers.
Line 1,661: Line 1,661:
===Operation===
===Operation===
Sets the actor to begin walking to the given object's position.
Sets the actor to begin walking to the given object's position.


=Variables=
=Variables=
125

edits

Navigation menu