0x2a legacy-transition-black-scratch
Opcode 0x2a (42), draw. Investigated by OME, with med confidence (from investigation).
(surface_slot)(duration_ms)(parameter)(style) — start a blocking legacy screen transition in mode 5 + style; style must be 0-2, otherwise a script error. Under DRAWMODE=1 the begin creates scratch surface 0x20 and fills it black. With fast-forward set at dispatch it finalizes on the surface instead. No game the port supports calls it, and the port has no handler: a run stops at it with a compatibility failure, and only a probe run (--probe) traces it and goes on.
Operands
It takes 4 operands, not yet described.
In the port
OME’s port does not implement it: the bundle records no control facts for it.
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 | 1 |
4.33G (SYS4433) | Kamidori Alchemy Meister | no | — |
4.38D (SYS4438) | Soukoku no Arterial | no | — |
Evidence
- native-re on SYS4422, med confidence; Himegari AGE.EXE Ghidra /v2 and decoded script corpus (
vm-map/opcodes.toml opcode 0x2a): Ghidra SYS4433 (Kamidori): dispatch slot 0x2a (ctx+0x9f7ac) resolves to op_0x2a_legacy_transition_modes_5_to_7@0x41b260. For style 0-2 it calls screen_transition_begin@0x43a6d0 (surface, -1, 5 + style, parameter, 0), sets run-state bit 8 and arms the sleep timer with operand 2, or with run-state 0x8000000 calls screen_transition_finalize@0x43a320(surface, 0). No call in either corpus.