Skip to content

Zenkai Opcode SetEntityPositionInstant

Johnathon edited this page Sep 20, 2026 · 1 revision

SetEntityPositionInstant

LOW CONFIDENCE. Pops 3, builds an entity command with vtable unk_8024DE4 and 2 payload words, enqueues it.

Syntax

SetEntityPositionInstant(charIdx, b, a)

Parameters

charIdx
Integer
Popped last — resolved via Entity_GetByCharIndex.

b
Integer
Popped second.

a
Integer
Popped first.

Remarks

LOW CONFIDENCE. Pops 3, builds an entity command with vtable unk_8024DE4 and 2 payload words, enqueues it. Argument/vtable shape is similar to (but a distinct vtable from) opcode 94's velocity setter — possibly a target-position or acceleration variant. Not confirmed.

Examples

Minimal illustrative encoding (synthetic, not from a real ROM script):

0x00, N           // PushByte(charIdx)
0x00, N           // PushByte(b)
0x00, N           // PushByte(a)
0x02, 0x3E        // Step -> SetEntityPositionInstant

See Also

Applies To

Game Notes
Legacy of Goku 2 Supported

Clone this wiki locally