-
Notifications
You must be signed in to change notification settings - Fork 0
Zenkai Opcode SetEntityPosition
Johnathon edited this page Sep 19, 2026
·
2 revisions
Directly sets an entity's position (a teleport, not a move-toward — see WalkToPosition/FlyToPosition for the animated versions).
SetEntityPosition(charIdx, x, y)charIdx
Integer
Character roster index.
x
Integer
New X.
y
Integer
New Y.
Directly sets an entity's position (a teleport, not a move-toward — see WalkToPosition/FlyToPosition for the animated versions).
Minimal illustrative encoding (synthetic, not from a real ROM script):
0x00, N // PushByte(charIdx)
0x00, N // PushByte(x)
0x00, N // PushByte(y)
0x02, 0x90 // Step -> BytecodeVM_SetEntityPosition| Game | Notes |
|---|---|
| Legacy of Goku 2 | Supported |