0x225 erase-transition-commands
Opcode 0x225 (549), draw. Investigated by OME, with high confidence (from investigation).
(first_command_handle)(count) — erase queued transition commands: with a count above 1 those whose command handle is from first_command_handle up to, not including, first_command_handle + count; otherwise the one at first_command_handle.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | first command handle | imm | read |
| 2 | count | imm | read |
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 | no | — |
4.33G (SYS4433) | Kamidori Alchemy Meister | no | — |
4.38D (SYS4438) | Soukoku no Arterial | yes | 1 |
Evidence
- native-re on SYS4438, high confidence; Arterial SYS4438 Ghidra /arterial/4.38D and the complete Arterial catalog (
vm-map/opcodes.toml opcode 0x225): op_0x225_handler@0x422d90: with operand 2 above 1 it calls 0x4934a0(handle, count), which erases the nodes of the map at the manager's +0x418 between lower_bound(handle) and lower_bound(handle + count); otherwise 0x493180(handle), which finds that one key and erases it. The producers gfx_queue_surface_alpha_transition, gfx_queue_patterned_surface_transition and the two blur range producers insert into the same map.
Details
OME’s notes on it, as the registry keeps them.
The commands are the queued surface alpha, patterned surface and blur range transitions, which native keeps in one map keyed by command handle (the map op 0x224 clears whole). The port erases them from its four stores. 創刻のアテリアル has 4 sites.