adv_sub_screen_active
Global of Himegari Dungeon Meister: the cell G:0x62428, of type int, ui-toggle, values {0,1}.
Set while an ADV scene runs one of its sub-screen scripts. 304 scripts write it in pairs: SC0000 sets 1 before call-script HISTORY.BIN (0x1c1, 0x355), MENU.BIN (0x39d, the right-click handler), HIDEWIN.BIN (0x3f1) and INPUTNAME.BIN, and clears it after the call returns (0x1d2, 0x366, 0x3ae, 0x402, 0xe63e). CALLBACK_WINDOW.BIN sets it around its own control-strip redraw. Only the callbacks read it: CALLBACK_SETTING.BIN and CALLBACK_WINDOW.BIN then defer their redraw to adv_control_strip_redraw_deferred, and CALLBACK_LOST.BIN skips its op 0x20c. A load from MENU never reaches the clear, but native layout 3 zeroes the whole integer bank, and the cell lies past the saved prefix 0x6241b, so it reads 0 after any load (native-read 2026-11-05; docs/engine-re.md, "Layout-3 restore mechanics").
OME’s registry gives it with high confidence, from investigation. The base mod himegari-base exports the name, so Lua and an event’s fields can use it.
It depends on 0x62429.
Scripts that use it
The game’s scripts whose instructions read, write or index (take as an array’s base) the cell, with how many of their operands do each, from OME’s script index.