126
edits
Jestar jokin (talk | contribs) (Added a Table of Parameters section; missing complex operations such as expressions, anything with sub-opcodes. Omitted comparisons for now.) |
Jestar jokin (talk | contribs) m (Fixed getActorX and getActorY return values, mention something about return = result) |
||
Line 424: | Line 424: | ||
* W = word | * W = word | ||
* L = list | * L = list | ||
* J = jump (used by all boolean expressions, comparisons) | * J = jump (used by almost all boolean expressions, comparisons) | ||
* D = delay; 24-bit constant (only used by delay, funnily enough) | * D = delay; 24-bit constant (only used by delay instruction, funnily enough) | ||
* A = ASCII (0-terminated string?); used by "setObjectName" | * A = ASCII (0-terminated string?); used by "setObjectName" | ||
* V|B or V|W = either a variable or a byte/word | * V|B or V|W = either a variable or a byte/word | ||
* None, if it does not take that argument. | * None, if it does not take that argument. | ||
If an instruction returns a value, the result pointer follows immediately after the opcode and before any arguments. | |||
{| border="1" style="text-align:center" width=100% cellpadding=2 | {| border="1" style="text-align:center" width=100% cellpadding=2 | ||
! Instruction | ! Instruction | ||
Line 612: | Line 614: | ||
|- | |- | ||
|align="left" |getActorX | |align="left" |getActorX | ||
| | |True | ||
|V|W | |V|W | ||
|style="color:silver; background:whitesmoke" |None | |style="color:silver; background:whitesmoke" |None | ||
Line 618: | Line 620: | ||
|- | |- | ||
|align="left" |getActorY | |align="left" |getActorY | ||
| | |True | ||
|V|W | |V|W | ||
|style="color:silver; background:whitesmoke" |None | |style="color:silver; background:whitesmoke" |None |
edits