List of Opcodes: Difference between revisions
Marius851000 (talk | contribs) →0x3 - back_SetBackScrollOffset: I can confirm they are hardcoded (will fill the exact detail later) |
→0x122 - SlidePositionMark: Added description for SlidePositionMark Tags: Mobile edit Mobile web edit |
||
| Line 5,342: | Line 5,342: | ||
|} | |} | ||
=== 0x122 - SlidePositionMark === | === 0x122 - SlidePositionMark === | ||
Moves an entity (i.e., an actor, object, or performer) to a Position Mark while restricting movement by eight angles—as if movement was performed using the D-Pad. Unlike MovePositionMark, this will not turn the entity to face the direction they are moving in. | |||
This opcode does not have a parameter for an entity, as it must be used in a with-statement or a targeted routine. | |||
{| class="wikitable" | {| class="wikitable" | ||
| Line 5,355: | Line 5,357: | ||
|uint | |uint | ||
|num_parameters | |num_parameters | ||
| | |The number of parameters to read from this opcode. | ||
|- | |- | ||
|2+ | |2+ | ||
|PositionMark | |PositionMark | ||
|pos_marker | |pos_marker | ||
|This parameter may be repeated multiple times | |A structure consisting of a name, X unit, and Y unit. Units are defined as 8 pixels. | ||
This parameter may be repeated multiple times. | |||
|} | |} | ||
Moves an entity (i.e., an actor, object, or performer) to a Position Mark while restricting movement by eight angles—as if movement was performed using the D-Pad. | |||
=== 0x123 - SlidePositionMark === | === 0x123 - SlidePositionMark === | ||
<TO DO: Opcode description> | <TO DO: Opcode description> | ||