0x21b set-tick-presentation
Opcode 0x21b (539), draw. Investigated by OME, with med confidence (from investigation).
(enabled) - store enabled != 0 in tick_presentation_enabled. Under draw mode 1 the outer tick advances the presentation frame timer and may render only while it is set or run-state bits 0x2400 are active; op 0x247 queries it.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | — | imm | read |
Named by 0x247 as one it works with.
In the port
OME’s port implements it. It never waits: a wait parks the engine until input, a sleep, a transition, a dialog or a movie ends. What it can do with control besides waiting:
falls: it returns to the next instruction
OME derives these facts from the port’s handler (its tools/opcode_flow.py), and they over-approximate: a fact some path can reach is given.
By build
Whether each build’s scripts use it, as OME’s survey of the game’s scripts saw them, and how many evidence items name the build.
| Build | Game | Used by its scripts | Evidence |
|---|---|---|---|
4.24J (SYS4422) | Himegari Dungeon Meister | yes | 1 |
4.33G (SYS4433) | Kamidori Alchemy Meister | yes | — |
4.38D (SYS4438) | Soukoku no Arterial | yes | — |
Evidence
- native-re on SYS4422, med confidence; Himegari AGE.EXE Ghidra /v2 and decoded script corpus (
vm-map/opcodes.toml opcode 0x21b): Ghidra /v2: op_0x21b_set_tick_presentation@0x4232d0 stores (fetch(1) != 0) at ctx+0x99294; engine_main_tick_with_exception_policy (0x411c61) requires it or run-state 0x2400 before moving frame_timer_current and calling gfx_render_frame under gfx_draw_mode 1; op_0x247_handler@0x42a5a0 writes it back to operand 1. Corpus: value 1 in every ADV line-template voice-reset block (26,856 Himegari sites), 0 at 150 sites. The historical name line-id? was a guess; the exact visible consequence of value 0 is not yet traced. Reset (2026-11-13): scene_context_init_reset@0x40b3b0 sets ctx+0x99294 to 0 (SYS4433 scene_context_init_reset_sys4433@0x40c2b0: ctx+0x9d73c).
Details
OME’s notes on it, as the registry keeps them.
Port status (2026-11-03): VirtualMachine stores tick_presentation_enabled for op 0x247. The port has no draw mode 1 tick render gate, so the value changes nothing visible.