0x254 gfx-set-scale-range
Opcode 0x254 (596), draw. Investigated by OME, with high confidence (from investigation).
(first_handle)(count)(scale_x_percent)(scale_y_percent)(scale_z_percent) — op 0x1fd's current scale for every retained object that exists in the range.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | first handle | read | |
| 2 | count | read | |
| 3 | scale x percent | read-float | |
| 4 | scale y percent | read-float | |
| 5 | scale z percent | 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 | no | — |
4.33G (SYS4433) | Kamidori Alchemy Meister | no | — |
4.38D (SYS4438) | Soukoku no Arterial | no | 1 |
Evidence
- native-re on SYS4438, high confidence; Arterial SYS4438 Ghidra /arterial/4.38D and the complete Arterial catalog (
vm-map/opcodes.toml opcode 0x254): op_0x254_handler@0x424860 fetches operands 3 to 5 as floats, divides each by 100.0 and passes them with operands 1 and 2 to 0x495170, which walks the object map between the two lower bounds and, for each object, sets obj+0x68 and writes the scale matrix at obj+0x6c.
Details
OME’s notes on it, as the registry keeps them.
Each scale operand is divided by 100.0. It creates no object. No script of 創刻のアテリアル uses it.