Skip to content

Zenkai Opcode SetActiveEntity

Johnathon edited this page Sep 16, 2026 · 1 revision

SetActiveEntity

Sets the given entity as the "active" one for subsequent implicit-target opcodes.

Syntax

SetActiveEntity(entityHandle)

Parameters

entityHandle
Integer
Entity handle/index.

Remarks

Sets the given entity as the "active" one for subsequent implicit-target opcodes.

Examples

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

0x00, N           // PushByte(entityHandle)
0x02, 0x21        // Step -> BytecodeVM_SetActiveEntity

See Also

Applies To

Game Notes
Legacy of Goku 2 Supported

Clone this wiki locally