0x22d set-gfx-range-scale-target
Opcode 0x22d (557), draw. Investigated by OME, with high confidence (from investigation).
(delay_ms)(duration_ms)(scale_x_percent)(scale_y_percent)(scale_z_percent) — animate the selected retained-gfx range transform's scale from its current matrix to the target.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | delay milliseconds | imm | read |
| 2 | duration milliseconds | imm | read |
| 3 | target X scale percent | g-int | — (by build: SYS4422 read; SYS4433 read-float; SYS4438 read-float) |
| 4 | target Y scale percent | g-int | — (by build: SYS4422 read; SYS4433 read-float; SYS4438 read-float) |
| 5 | target Z scale percent | imm | — (by build: SYS4422 read; SYS4433 read-float; SYS4438 read-float) |
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 0x22d): Ghidra /v2: op_0x22d_set_gfx_range_scale_target@0x423990 divides operands 3..5 by 100 and calls gfx_range_transform_set_scale_target@0x472d50. The worker arms the embedded transform object's ordinary scale channel (delay obj+0x3c, duration +0x50, target matrix +0xac), which gfx_range_transform_sample_frame@0x476df0 samples before range composition. FIELD has the sole corpus call, a 300 ms camera zoom.