EVT_OP_LABEL
EVT_OP_LABEL source
Args: index
EVT_OP_GOTO
EVT_OP_GOTO source
Args: index
EVT_OP_LOOP
EVT_OP_LOOP source
Args: number of repeats (0 = infinite)
EVT_OP_IF_EQ
EVT_OP_IF_EQ source
Args: a, b
EVT_OP_IF_NE
EVT_OP_IF_NE source
Args: a, b
EVT_OP_IF_LT
EVT_OP_IF_LT source
Args: a, b
EVT_OP_IF_GT
EVT_OP_IF_GT source
Args: a, b
EVT_OP_IF_LE
EVT_OP_IF_LE source
Args: a, b
EVT_OP_IF_GE
EVT_OP_IF_GE source
Args: a, b
EVT_OP_IF_FLAG
EVT_OP_IF_FLAG source
Args: a, b
EVT_OP_IF_NOT_FLAG
EVT_OP_IF_NOT_FLAG source
Args: a, b
EVT_OP_SWITCH
EVT_OP_SWITCH source
Args: expression to test against
EVT_OP_SWITCH_CONST
EVT_OP_SWITCH_CONST source
Args: value to test against
EVT_OP_CASE_EQ
EVT_OP_CASE_EQ source
Args: expression to test for
EVT_OP_CASE_NE
EVT_OP_CASE_NE source
Args: expression to test for
EVT_OP_CASE_LT
EVT_OP_CASE_LT source
Args: expression to test for
EVT_OP_CASE_GT
EVT_OP_CASE_GT source
Args: expression to test for
EVT_OP_CASE_LE
EVT_OP_CASE_LE source
Args: expression to test for
EVT_OP_CASE_GE
EVT_OP_CASE_GE source
Args: expression to test for
EVT_OP_CASE_OR_EQ
EVT_OP_CASE_OR_EQ source
Args: expression to test for
EVT_OP_CASE_AND_EQ
EVT_OP_CASE_AND_EQ source
Args: expression to test for
EVT_OP_CASE_FLAG
EVT_OP_CASE_FLAG source
Args: expression to test for
EVT_OP_END_CASE_GROUP
EVT_OP_END_CASE_GROUP source
Ends the case block of EVT_OP_CASE_OR_EQ condition(s).
EVT_OP_CASE_RANGE
EVT_OP_CASE_RANGE source
Args: from, to
EVT_OP_SET
EVT_OP_SET source
Args: container, expression
EVT_OP_SET_CONST
EVT_OP_SET_CONST source
Args: container, value
EVT_OP_SETF
EVT_OP_SETF source
Args: container, expression
EVT_OP_ADD
EVT_OP_ADD source
Args: container, expression to increment by
EVT_OP_SUB
EVT_OP_SUB source
Args: container, expression to decrement by
EVT_OP_MUL
EVT_OP_MUL source
Args: container, expression to multiply by
EVT_OP_DIV
EVT_OP_DIV source
Integer division. Args: container, expression to divide by
EVT_OP_MOD
EVT_OP_MOD source
Args: container, expression to divide by
EVT_OP_ADDF
EVT_OP_ADDF source
Args: container, expression to increment by
EVT_OP_SUBF
EVT_OP_SUBF source
Args: container, expression to decrement by
EVT_OP_MULF
EVT_OP_MULF source
Args: container, expression to multiply by
EVT_OP_DIVF
EVT_OP_DIVF source
Args: container, expression to divide by
EVT_OP_USE_BUF
EVT_OP_USE_BUF source
Args: s32*
EVT_OP_BUF_READ2
EVT_OP_BUF_READ2 source
Args: container
EVT_OP_BUF_READ3
EVT_OP_BUF_READ3 source
Args: container, container
EVT_OP_BUF_READ4
EVT_OP_BUF_READ4 source
Args: container, container, container
EVT_OP_BUF_PEEK
EVT_OP_BUF_PEEK source
Args: index, container
EVT_OP_USE_FBUF
EVT_OP_USE_FBUF source
Identical to USE_BUFFER. Args: f32*
EVT_OP_FBUF_READ2
EVT_OP_FBUF_READ2 source
Args: container
EVT_OP_FBUF_READ3
EVT_OP_FBUF_READ3 source
Args: container, container
EVT_OP_FBUF_READ4
EVT_OP_FBUF_READ4 source
Args: container, container, container
EVT_OP_FBUF_PEEK
EVT_OP_FBUF_PEEK source
Args: index, container
EVT_OP_USE_ARRAY
EVT_OP_USE_ARRAY source
Args: *s32
EVT_OP_USE_FLAGS
EVT_OP_USE_FLAGS source
Args: *s32
EVT_OP_MALLOC_ARRAY
EVT_OP_MALLOC_ARRAY source
Allocates a new array. Args: length, s32*
EVT_OP_BITWISE_AND
EVT_OP_BITWISE_AND source
Args: container, expression to bitwise AND with
EVT_OP_BITWISE_AND_CONST
EVT_OP_BITWISE_AND_CONST source
Args: container, value to bitwise AND with
EVT_OP_BITWISE_OR
EVT_OP_BITWISE_OR source
Args: container, expression to bitwise OR with
EVT_OP_BITWISE_OR_CONST
EVT_OP_BITWISE_OR_CONST source
Args: container, value to bitwise OR with
EVT_OP_CALL
EVT_OP_CALL source
Args: *function, ...
EVT_OP_EXEC
EVT_OP_EXEC source
Args: EvtScript*
EVT_OP_EXEC_GET_TID
EVT_OP_EXEC_GET_TID source
Args: EvtScript*, container
EVT_OP_EXEC_WAIT
EVT_OP_EXEC_WAIT source
Spawns a script and waits for it to return before continuing. Args: EvtScript*
EVT_OP_BIND_TRIGGER
EVT_OP_BIND_TRIGGER source
Args: EvtScript*, trigger flags, s32 target, 1, Trigger*
EVT_OP_UNBIND
EVT_OP_UNBIND source
Unbinds any triggers bound to this script.
EVT_OP_KILL_THREAD
EVT_OP_KILL_THREAD source
Args: ScriptID
EVT_OP_JUMP
EVT_OP_JUMP source
Args: EvtScript*
EVT_OP_SET_PRIORITY
EVT_OP_SET_PRIORITY source
Args: priority
EVT_OP_SET_TIMESCALE
EVT_OP_SET_TIMESCALE source
Args: timescale
EVT_OP_SET_GROUP
EVT_OP_SET_GROUP source
Args: group
EVT_OP_BIND_PADLOCK
EVT_OP_BIND_PADLOCK source
Args: EvtScript*, trigger flags, s32 target, ItemList*, 0, 1
EVT_OP_SUSPEND_GROUP
EVT_OP_SUSPEND_GROUP source
Args: group
EVT_OP_RESUME_GROUP
EVT_OP_RESUME_GROUP source
Args: group
EVT_OP_SUSPEND_OTHERS
EVT_OP_SUSPEND_OTHERS source
Args: group
EVT_OP_RESUME_OTHERS
EVT_OP_RESUME_OTHERS source
Args: group
EVT_OP_SUSPEND_THREAD
EVT_OP_SUSPEND_THREAD source
Args: ScriptID
EVT_OP_RESUME_THREAD
EVT_OP_RESUME_THREAD source
Args: ScriptID
EVT_OP_IS_THREAD_RUNNING
EVT_OP_IS_THREAD_RUNNING source
Args: ScriptID, container
EVT_OP_CHILD_THREAD
EVT_OP_CHILD_THREAD source
Parallel threads are killed as soon as the parent script returns.
EVT_OP_DEBUG_PRINT_VAR
EVT_OP_DEBUG_PRINT_VAR source
Args: expression
EventStateFlags
enum EventStateFlags source
EVT_FLAG_ACTIVE
EVT_FLAG_PAUSED
paused through suspend_group_script / resume_group_script
EVT_FLAG_BLOCKED_BY_CHILD
EVT_FLAG_RUN_IMMEDIATELY
don't wait for next update_scripts call
EVT_FLAG_THREAD
EVT_FLAG_SUSPENDED
doesn't affect child