0x2e9 set-auto-message-count-offset
Opcode 0x2e9 (745), adv. Investigated by OME, with high confidence (from investigation).
(count) — how many of a page's characters the Auto delay's per-character part leaves out, until the scene reset.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | character count | imm, l-int | 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 0x2e9): op_0x2e9_set_auto_message_count_offset@0x425080 stores operand 1 at ctx+0x77518, which scene_context_init_reset zeroes. The Auto delay reads it at four places (op_0x72_wait_for_input, adv_input_service_poll and 0x408850): on a page with no voice the delay is message:AutoMessageTime1 + message:AutoMessagePitch1 * (the page's glyph records - 1 - this value), and on a voiced page, when message:AutoMessageOption has bit 0, AutoMessageTime0 + AutoMessagePitch0 * (the same); a delay of 0 becomes 100 ms. sys4_register_setting_defaults registers both pitches and the option as 0, and ops 0x2e6, 0x2e7, 0x2e8 and 0x2ea read and write them.
Details
OME’s notes on it, as the registry keeps them.
The port keeps the value (SkipAndAuto.AutoMessageCountOffset) and subtracts it from the page's glyph count in both delays (SkipAndAuto.AutoWaitStateFor). 創刻のアテリアル has 579 sites.