0x1f5 stmt-end
Opcode 0x1f5 (501), structural. Investigated by OME, with high confidence (from investigation).
() - close a statement block opened by op 0x1f4. A nested close decrements statement_block_depth; the outermost close clears statement_block_active and, unless script_launch_dispatch_active is set, dispatches the next queued script launch.
Operands
It takes no operands.
It works with 0x1f4. Named by 0x1f4 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, high confidence; Himegari AGE.EXE Ghidra /v2 and decoded script corpus (
vm-map/opcodes.toml opcode 0x1f5): Static RE of /v2: handler 0x4173e0 decrements ctx+0x5f300 when positive; otherwise, when ctx+0x5f2fc is set, it clears it and, if ctx+0x6f8b8 is zero, tail-jumps to script_launch_queue_dispatch_next@0x40f6e0. See op 0x1f4 for the deferred tick services and corpus structure.
Details
OME’s notes on it, as the registry keeps them.
Port status (2026-11-03): implemented with op 0x1f4. A nested close decrements the depth; an unmatched close is ignored, as natively. A root reload clears the block.