List of Opcodes: Difference between revisions

Tags: Mobile edit Mobile web edit
0x123 - SlidePositionMark: Added description for SlidePositionMark
Tags: Mobile edit Mobile web edit
Line 5,367: Line 5,367:


=== 0x123 - SlidePositionMark ===
=== 0x123 - SlidePositionMark ===
<TO DO: Opcode description>
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,379: Line 5,381:
|1
|1
|uint
|uint
|unk0
|speed
|
|Movement speed. Higher values result in a faster speed. 0 will result in an instant movement.
Values starting at 32770 and above will be slower than a value of 1.
|-
|-
|2
|2
|PositionMark
|PositionMark
|pos_marker
|pos_marker
|
|A structure consisting of a name, X unit, and Y unit. Units are defined as 8 pixels.
|}
|}
=== 0x124 - SlidePositionMarkTime ===
=== 0x124 - SlidePositionMarkTime ===
<TO DO: Opcode description>
<TO DO: Opcode description>