0x327 set-3d-effect-rain
Opcode 0x327 (807), draw. Investigated by OME, with high confidence (from investigation).
(drops) — build the display's rain effect: that many drops fall as one-pixel streaks and, where they land, ripple as rings, in the ambient light's colour.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | drop 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 0x327): op_0x327_set_3d_effect_rain@0x425350 calls display_build_rain_effect@0x44f430, which deletes the object at the display's +0x408 and builds a new one (0x29c bytes, rain_effect_construct@0x47abc0) of operand 1 drops of 0x70 bytes. Read 2026-11-20 (rain_drop_respawn@0x47a5d0, rain_drop_step@0x47a730, rain_drop_draw@0x47a800): a drop is born from thirteen rand draws and falls, faster each 1/60 s step, until it lands and ripples for 15 to 19 steps (one draw), then is born again at the top; a streak is a line, a ring sixteen, lit by the ambient light alone with the material's alpha. The native name was not found. Only DEBUG.BIN uses it, with 100 drops.
Details
OME’s notes on it, as the registry keeps them.
The port keeps the state in the graphics native (Graphics.Scene3D.cs), and the frame lowering draws the rain, the snow and the leaves with it where native's frame render and range present draw them, on the screen or into a render target (Graphics.Scene3DLowering.cs; docs/superpowers/specs/2026-11-20-title-leaves-design.md; docs/engine-re.md, 'The 3D scene'). Point and spot lights, a screen transition's source and a movie mask's capture keep their state and draw nothing (docs/backlog.md, 'The 3D scene's other cases are not drawn').