Skip to content

Adult titles

The games this site covers are adult titles. Their data, pictures and text include sexual content.

Continue only if you are an adult where you live.

0xfa refresh-adv-skip-input-state

Opcode 0xfa (250), adv. Investigated by OME, with high confidence (from investigation).

() — end transient ADV fast-forward unless logical action 6 is held, release the latest skip-queued voice when it ends, and then, with fast-forward off, wait for input on the ADV input poll with no page.

Operands

It takes no operands.

In the port

OME’s port implements it. It may wait: 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
  • calls: it runs another frame or a callback before it returns: a script, a wait’s callback, a menu’s script
  • ends: it ends its frame, the scene or the run, itself or because a frame it ran did

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.

BuildGameUsed by its scriptsEvidence
4.24J (SYS4422)Himegari Dungeon Meisterno1
4.33G (SYS4433)Kamidori Alchemy Meisteryes2
4.38D (SYS4438)Soukoku no Arterialyes—

Evidence

  • native-re on SYS4422, SYS4433, high confidence; Himegari SYS4422 Ghidra /v2 and Kamidori SYS4433 Ghidra /kamidori/SYS4433 (4.33F), addresses given for /kamidori/4.33G (vm-map/opcodes.toml opcode 0xfa): SYS4422 op_0xfa_refresh_adv_skip_input_state@0x416de0 and SYS4433 @0x417580 have the same zero-operand control flow: poll action mask 0x40, clear fast-forward and release queued voice on absence, then flush triggered actions and set run-state 0x80000000 while fast-forward is inactive. adv_interpreter_tick@0x410fb0 advances the pc by the length the op set, and adv_input_service_poll@0x411230 services 0x80000000 until a click, action 6, Auto or a callback clears it. Kamidori has one call at SHOWALLMAP@0x16a; Himegari installs the equivalent handler without a decoded corpus call.
  • frida on SYS4433, high confidence; tools/drive.py native and port, Kamidori sandbox k1clean slot 011 through STAGECLEAR, SC0000 and SC0010 to SHOWALLMAP (vm-map/opcodes.toml opcode 0xfa): Native 4.33G holds the world map at SHOWALLMAP@0x16b for as long as no click comes (more than 6.5 s observed) and a click moves on to SC0010; the port ran straight on to SC0010@0xd08 before it entered the poll. Replayed from slot 011 after the fix, both targets hold at SHOWALLMAP@0x16b with identical shots for 6.5 s, and one click takes both through SC0010@0xb424 to SC0010@0xd08 (2026-11-09).

Details

OME’s notes on it, as the registry keeps them.

Both revisions set the frame's instruction length to 1 and clear ctx+0x5510c (op 0xae sets it after a load), then poll the held action mask, which carries no ctx+0x13dc injection. If bit 0x40 (logical action 6) is absent they clear run-state fast-forward bit 0x08000000, even on a read message, and play/clear the latest voice retained during skip. When fast-forward is then inactive they discard the input latch and set run-state bit 0x80000000. That is the wait op 0x72 enters: the engine runs adv_input_service_poll instead of the interpreter, so the script holds past this op until a click, persistent Skip's injected action 6 (which also starts fast-forward again), Auto or a hotspot callback ends it. Unlike op 0x72 it publishes no wait indicator, arms no Auto timer (Auto polls the shared timer an earlier page or sleep armed) and shows no page. Kamidori's only site, SHOWALLMAP@0x16a, holds the world map on it until the player clicks. The port enters the same poll through IInputAndWaits.WaitForAdvInputPoll, which the input and waits native runs without a page break, wait indicator or text clear (docs/engine-re.md, 'ADV skip/input-state refresh -- opcode 0xfa'; 2026-11-09).