# vm-map/globals.toml -- CANONICAL living global-variable registry (hand-edited). # Generated artifacts (build/globals.json, docs/global-reference.md) come from this file via # tools/globals_build.py --build. Do not edit those. Skeletons are appended by # tools/story_flags.py --bootstrap; enrich each entry as we investigate. # See docs/superpowers/specs/2026-07-07-globals-registry-and-story-flags-design.md. [meta] note = "Curated global addresses override the auto shape-inference map (build/global-var-map.json)." [[global]] address = "0x0" name = "system_flow_request" category = "choice-output" type = "int" value_domain = "0..5" usage = "Return-mode request shared by TITLE/GAMESTART and SYSTEM4. The natural New Game path writes 1 immediately after GAMESTART's TUNE call; TITLE returns and SYSTEM4 routes value 1 into its ADV scene loop. Values 2/3/5 route to FORT/FIELD/CAMP; other writers use the same system-level request channel." source = "investigation" confidence = "high" depends_on = ["0x699", "0x62ccf"] [[global]] address = "0x699" name = "next_script_resource_id" category = "choice-output" type = "int" value_domain = "raw SYS4INI id or 0" usage = "SYSTEM4's computed child-script resource id. On the normal ADV path SYSTEM4 copies G[0x87a57][scjump_decision_out] here, substitutes raw id 0x22 (SC0000.BIN) when zero, executes call-script through this cell at offset 0x477, then clears it after the child returns." source = "investigation" confidence = "high" depends_on = ["0x62ccf"] [[global]] address = "0x3234" name = "chapter_mode" category = "story-flag" type = "int" value_domain = "1..9" usage = "Progression chapter/mode selector. SCJUMP's top-level switch keys on it; branch-read by progression scripts (FIELD etc.), not directly by SC/SP scenes." source = "investigation" confidence = "high" depends_on = ["0x62ccf"] [[global]] address = "0xa57" name = "lily_form_a" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "Lily current-form flag A. Exactly one of form A/B/C is 1; gates form-specific voiced dialogue (seeding 0xa57=1 -> SC0000 186->229 lines). Set externally (menu/save), no static writer." source = "investigation" confidence = "high" depends_on = ["0xa58", "0xa59"] [[global]] address = "0xa58" name = "lily_form_b" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "Lily current-form flag B. See lily_form_a." source = "investigation" confidence = "high" depends_on = ["0xa57", "0xa59"] [[global]] address = "0xa59" name = "lily_form_c" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "Lily current-form flag C. See lily_form_a." source = "investigation" confidence = "high" depends_on = ["0xa57", "0xa58"] [[global]] address = "0x6c1" name = "adv_chrome_enabled" category = "ui-toggle" type = "int" value_domain = "{0,1}" usage = "Inherited SYSTEM4 UI-boot flag. Standard ADV scripts register the five visible SO001 control-strip pointer rectangles only while nonzero; zero skips directly to the three off-screen keyboard/pad records. The Phase-A single-scene Godot bootstrap seeds the native observed value 1." source = "investigation" confidence = "high" depends_on = ["0x6c9", "0x6ca", "0x6cb", "0x6cc", "0x6cd"] [[global]] address = "0x62425" name = "adv_hide_window_enabled" category = "ui-toggle" type = "int" value_domain = "{0,1}" usage = "Native ADV-scheduler permission for the standard Hide Window action. After op 0x199 enters the registered yield-A handler, every standard ADV scene calls HIDEWIN.BIN only while this value is nonzero. No script writes it and the complete boot-to-SC0000 VM-write capture does not contain it, so it is native-owned inherited state rather than saved-game or script boot data. The Godot scene bootstrap mirrors the original enabled value 1." source = "investigation" confidence = "high" depends_on = ["0x6c1"] [[global]] address = "0x2e49" name = "character_voice_suppressed" category = "data-table" type = "int[13]" value_domain = "13 cells of {0,1}; 0 enables that character's voice, 1 suppresses it" usage = "Base of the per-character voice enable/suppress settings. INITCONFIG zero-fills all 13 cells and registers each with the shared profile service; LOADCONFIG restores them. CONFIG indexes the table to preview a character voice and write 0/1. ROOM reads cell 0 before assigning its selected greeter's greeting/farewell voice ids, so the port's former scalar interpretation of zero-int-range (writing 13 into the base cell) suppressed those voices on every natural boot. This names the script-visible setting array without choosing a persistence backend for op 0x1a2/0x1a3." source = "investigation" confidence = "high" depends_on = [] [[global]] address = "0x6c9" name = "adv_hover_history" category = "ui-toggle" type = "int" value_domain = "{0,1}" usage = "Pointer-hover flag for the standard ADV History button at (684,572). Its op 0x90 enter/leave callbacks set 1/0; the shared SO001 redraw shows the History tooltip plus generic hover overlay while set." source = "investigation" confidence = "high" depends_on = ["0x6ca", "0x6cb", "0x6cc", "0x6cd"] [[global]] address = "0x6ca" name = "adv_hover_auto_message" category = "ui-toggle" type = "int" value_domain = "{0,1}" usage = "Pointer-hover flag for the standard ADV Auto-message button at (706,572). See adv_hover_history." source = "investigation" confidence = "high" depends_on = ["0x6c9"] [[global]] address = "0x6cb" name = "adv_hover_message_skip" category = "ui-toggle" type = "int" value_domain = "{0,1}" usage = "Pointer-hover flag for the standard ADV all-message Skip button at (728,572). See adv_hover_history." source = "investigation" confidence = "high" depends_on = ["0x6c9"] [[global]] address = "0x6cc" name = "adv_hover_read_message_skip" category = "ui-toggle" type = "int" value_domain = "{0,1}" usage = "Pointer-hover flag for the standard ADV read-message-only Skip button at (750,572). See adv_hover_history." source = "investigation" confidence = "high" depends_on = ["0x6c9"] [[global]] address = "0x6cd" name = "adv_hover_hide_window" category = "ui-toggle" type = "int" value_domain = "{0,1}" usage = "Pointer-hover flag for the standard ADV Hide-window button at (772,572). See adv_hover_history." source = "investigation" confidence = "high" depends_on = ["0x6c9"] [[global]] address = "0x62ccf" name = "scjump_decision_out" category = "choice-output" type = "int" value_domain = "?" usage = "One of SCJUMP's output/decision globals (progression state machine writes it). Related to chapter_mode." source = "inference" confidence = "low" depends_on = [] [[global]] address = "0xeff75" name = "current_entity_index_hi" category = "index-pointer" type = "int" value_domain = "row index" usage = "High-purity current-entity row index (purity 0.95 in the auto shape map); dominant 2D-table row selector." source = "inference" confidence = "med" depends_on = [] [[global]] address = "0x152616" name = "current_entity_index" category = "index-pointer" type = "int" value_domain = "row index" usage = "Primary current-entity row index (RECOVER-confirmed; purity 0.51, 363 row-index uses)." source = "investigation" confidence = "med" depends_on = [] [[global]] address = "0x6be" name = "" category = "ui-toggle" type = "int" value_domain = "{0,1}" usage = "ADV message-window / text-render state in the 0x6bx-0x6cx chrome cluster (passed to render helpers u0041F9C0/u00415F70 alongside 0x6c3). NOT a story flag — high scene-reach is from the shared render chrome. Branch-read in 146 scenes." source = "inference" confidence = "low" depends_on = [] [[global]] address = "0x6c3" name = "" category = "ui-toggle" type = "int" value_domain = "?" usage = "ADV message-window / text-render state in the 0x6bx-0x6cx chrome cluster (`mov 0x6c3,` then `u00415F70(0x6c3)` right after draw-texture; paired with 0x6be). NOT a story flag. Branch-read in 136 scenes." source = "inference" confidence = "low" depends_on = [] [[global]] address = "0xa68" name = "" category = "choice-output" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 11 scenes / 12 scripts; compared against [0, 1]; writers=['SC0740.BIN', 'SC1580.BIN', 'SC1590.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0xa99" name = "game_started" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "New-game/playthrough gate: set to 1 by GAMESTART.BIN, then tested `==1` in story scenes (SC0200/SC0490, e.g. `0xa99==1 AND stat>3`). Marks that the game proper has begun. INFERENCE from the GAMESTART writer — confirm exact semantics before relying on it." source = "inference" confidence = "low" depends_on = [] [[global]] address = "0xd92" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 29 scenes / 29 scripts; compared against [1]; writers=none (external/native?)." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x3231" name = "game_mode" category = "story-flag" type = "int" value_domain = "1..9" usage = "Game-mode/phase selector in the 0x3231-0x3234 progression-state cluster (chapter_mode is 0x3234). Enum 1..9, written by the gameplay scripts (AIM/ALCHEMY/BTL/BUNKI), branch-read in 136 scenes. Distinct from chapter; likely current sub-mode/screen. INFERENCE — confirm with a listing/sweep before relying on the exact meaning." source = "inference" confidence = "med" depends_on = ["0x3234"] [[global]] address = "0x3238" name = "" category = "unknown" type = "int" value_domain = "{0,1}" usage = "Config/settings global (CONFIG.BIN/INITCONFIG.BIN writer, scene-reach 0) — NOT a scene story flag; miner over-tagged it. Branch-read in 5 scripts; compared against [1]." source = "inference" confidence = "low" depends_on = [] [[global]] address = "0x3275" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 136 scenes / 143 scripts; compared against [0]; writers=['CAMP.BIN', 'DEBUGADV.BIN', 'DEBUGADV2.BIN', 'FIELD.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x3301" name = "" category = "unknown" type = "int" value_domain = "one of {1, 2}" usage = "Config/settings global (INITCONFIG.BIN writer, scene-reach 0) — NOT a scene story flag; miner over-tagged it. Branch-read in 6 scripts; compared against [1, 2]." source = "inference" confidence = "low" depends_on = [] [[global]] address = "0x3303" name = "" category = "unknown" type = "int" value_domain = "{0,1}" usage = "Config/settings global (CONFIG.BIN/INITCONFIG.BIN writer, scene-reach 0) — NOT a scene story flag; miner over-tagged it. Branch-read in 8 scripts; compared against [1]." source = "inference" confidence = "low" depends_on = [] [[global]] address = "0x3304" name = "" category = "unknown" type = "int" value_domain = "{0,1}" usage = "Config/settings global (CONFIG.BIN/INITCONFIG.BIN writer, scene-reach 0) — NOT a scene story flag; miner over-tagged it. Branch-read in 13 scripts; compared against [1]." source = "inference" confidence = "low" depends_on = [] [[global]] address = "0x6718" name = "" category = "story-flag" type = "int" value_domain = "one of {0, 2}" usage = "TODO: confirm. Branch-read in 0 scenes / 6 scripts; compared against [0, 2]; writers=['ADDSKILL.BIN', 'CHMENU.BIN', 'DELCH.BIN', 'DRAWCHP.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x671b" name = "" category = "story-flag" type = "int" value_domain = "one of {999}" usage = "TODO: confirm. Branch-read in 0 scenes / 5 scripts; compared against [999]; writers=['ALCHEMY.BIN', 'DEBUGMAP.BIN', 'DEBUGMAP2.BIN', 'DEBUGMAP3.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x671e" name = "" category = "story-flag" type = "int" value_domain = "one of {5, 6}" usage = "TODO: confirm. Branch-read in 0 scenes / 3 scripts; compared against [5, 6]; writers=['USEMAGIC.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x6722" name = "" category = "story-flag" type = "int" value_domain = "one of {0, 1, 5, 99}" usage = "TODO: confirm. Branch-read in 13 scenes / 18 scripts; compared against [0, 1, 5, 99]; writers=['GAMESTART.BIN', 'SALLY.BIN', 'SC0010.BIN', 'SC0140.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x6724" name = "" category = "story-flag" type = "int" value_domain = "one of {0, 25, 50, 99}" usage = "TODO: confirm. Branch-read in 4 scenes / 10 scripts; compared against [0, 25, 50, 99]; writers=['DEBUGADV2.BIN', 'DEBUGMAP.BIN', 'DEBUGMAP2.BIN', 'DEBUGMAP3.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x7679" name = "" category = "story-flag" type = "int" value_domain = "one of {0, 1, 4, 8, 16, 256, 512, 1024}" usage = "TODO: confirm. Branch-read in 0 scenes / 4 scripts; compared against [0, 1, 4, 8, 16, 256, 512, 1024]; writers=['FIELD.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x767a" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 0 scenes / 4 scripts; compared against [0]; writers=['DEBUGMAP.BIN', 'DEBUGMAP2.BIN', 'DEBUGMAP3.BIN', 'FIELD.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x767b" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 136 scenes / 150 scripts; compared against [0, 1]; writers=['DEBUGADV2.BIN', 'DEBUGMAP.BIN', 'DEBUGMAP2.BIN', 'DEBUGMAP3.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x767d" name = "" category = "story-flag" type = "int" value_domain = "one of {0, 1, 2, 3}" usage = "TODO: confirm. Branch-read in 0 scenes / 9 scripts; compared against [0, 1, 2, 3]; writers=['CAMP.BIN', 'DEBUGADV2.BIN', 'DEBUGMAP.BIN', 'DEBUGMAP2.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x204f4" name = "" category = "unknown" type = "int" value_domain = "small int" usage = "Map/field display state (FIELD.BIN writer; used in DRAWCHP draw call u00422460 and `div 0x204f4/3`). A numeric display parameter, NOT a story flag. Branch-read in 2 scenes." source = "inference" confidence = "low" depends_on = [] [[global]] address = "0x204f5" name = "" category = "story-flag" type = "int" value_domain = "one of {1, 2, 4, 8, 16, 32, 64}" usage = "TODO: confirm. Branch-read in 0 scenes / 3 scripts; compared against [1, 2, 4, 8, 16, 32, 64]; writers=['FIELD.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x204f7" name = "" category = "story-flag" type = "int" value_domain = "one of {1, 2, 4, 6}" usage = "TODO: confirm. Branch-read in 0 scenes / 3 scripts; compared against [1, 2, 4, 6]; writers=['DEBUGMAP.BIN', 'DEBUGMAP2.BIN', 'DEBUGMAP3.BIN', 'GAMESTART.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x2052e" name = "" category = "story-flag" type = "int" value_domain = "one of {0, 1, 2, 3}" usage = "TODO: confirm. Branch-read in 0 scenes / 3 scripts; compared against [0, 1, 2, 3]; writers=['FIELD.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x20530" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 14 scenes / 22 scripts; compared against [0]; writers=['DEBUGADV2.BIN', 'DEBUGMAP.BIN', 'DEBUGMAP2.BIN', 'DEBUGMAP3.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x20534" name = "" category = "story-flag" type = "int" value_domain = "one of {0, 10, 100, 999}" usage = "TODO: confirm. Branch-read in 14 scenes / 24 scripts; compared against [0, 10, 100, 999]; writers=['DEBUGADV2.BIN', 'DEBUGMAP.BIN', 'DEBUGMAP2.BIN', 'DEBUGMAP3.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x53ef4" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 0 scenes / 3 scripts; compared against [0]; writers=['CAMP.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x55e37" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 0 scenes / 3 scripts; compared against [0]; writers=['EVOLVE.BIN', 'STUDY.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x55e38" name = "" category = "story-flag" type = "int" value_domain = "one of {0, 1, 2}" usage = "TODO: confirm. Branch-read in 0 scenes / 9 scripts; compared against [0, 1, 2]; writers=['CHMENU.BIN', 'INFO.BIN', 'INFOAF.BIN', 'INFOCH.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x55e39" name = "" category = "story-flag" type = "int" value_domain = "one of {0, 1, 4}" usage = "TODO: confirm. Branch-read in 0 scenes / 8 scripts; compared against [0, 1, 4]; writers=['ALCHEMY.BIN', 'EVOLVE.BIN', 'MAGIC2.BIN', 'SELSTAGE.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x55e3a" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 136 scenes / 143 scripts; compared against [0]; writers=['FORT.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x617fd" name = "" category = "story-flag" type = "int" value_domain = "one of {0, 25, 50}" usage = "TODO: confirm. Branch-read in 0 scenes / 6 scripts; compared against [0, 25, 50]; writers=['GAMESTART.BIN', 'TUNE.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x62428" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 0 scenes / 3 scripts; compared against [0]; writers=['CALLBACK_WINDOW.BIN', 'DEBUG.BIN', 'DEBUGADV.BIN', 'DEBUGADV2.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x62439" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 0 scenes / 6 scripts; compared against [0]; writers=['CHMENU.BIN', 'INFOAF.BIN', 'INFOCH.BIN', 'INFOEN.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x6249e" name = "" category = "unknown" type = "int" value_domain = "0..7" usage = "Graphics-subsystem state in the 0x624xx gfx-object range (set via `mov 0x6249e,` alongside `mov 0x62450,`). Likely a draw/slot parameter, NOT a story flag. Branch-read in 78 scenes." source = "inference" confidence = "low" depends_on = [] [[global]] address = "0x624be" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 0 scenes / 8 scripts; compared against [0]; writers=['MENU.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x62ccc" name = "scjump_decision_out2" category = "choice-output" type = "int" value_domain = "small enum" usage = "Adjacent to scjump_decision_out (0x62ccf) in the 0x62ccc-0x62ccf progression decision-output cluster; same 136-scene reach, written by CAMP/CLOSE/DEBUGADV. INFERENCE from adjacency — confirm meaning before relying on it." source = "inference" confidence = "low" depends_on = ["0x62ccf"] [[global]] address = "0x6642c" name = "route_branch" category = "story-flag" type = "int" value_domain = "0..7" usage = "Route/branch selector: sole writer is BUNKI.BIN (分岐 = branching), enum 0..7, branch-read in 36 scenes. Selects a story branch/route. INFERENCE from the BUNKI writer + enum — confirm exact routes via a listing/sweep." source = "inference" confidence = "med" depends_on = [] [[global]] address = "0x665d3" name = "" category = "story-flag" type = "int" value_domain = "one of {1, 2, 4, 8, 32, 64, 128, 65536}" usage = "TODO: confirm. Branch-read in 0 scenes / 4 scripts; compared against [1, 2, 4, 8, 32, 64, 128, 65536]; writers=['ALCHEMY.BIN', 'BUNKI.BIN', 'DEBUGADV.BIN', 'EVOLVE.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x665d6" name = "" category = "story-flag" type = "int" value_domain = "?" usage = "TODO: confirm. Branch-read in 0 scenes / 3 scripts; compared against []; writers=['MES.BIN', 'SBUNKI.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x665d7" name = "" category = "story-flag" type = "int" value_domain = "one of {1, 3}" usage = "TODO: confirm. Branch-read in 0 scenes / 5 scripts; compared against [1, 3]; writers=['ADDSKILL.BIN', 'SBUNKI.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x66714" name = "" category = "story-flag" type = "int" value_domain = "?" usage = "TODO: confirm. Branch-read in 0 scenes / 3 scripts; compared against []; writers=['DEBUGBTL.BIN', 'FIELD.BIN', 'RTN_M051.BIN', 'RTN_M052.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0xa6e59" name = "" category = "story-flag" type = "int" value_domain = "one of {1, 2, 3, 4, 11, 21, 22, 23}" usage = "TODO: confirm. Branch-read in 0 scenes / 5 scripts; compared against [1, 2, 3, 4, 11, 21, 22, 23]; writers=['CALCDMG.BIN', 'CHMENU.BIN', 'FORT.BIN', 'INFOIT.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0xab8e7" name = "" category = "story-flag" type = "int" value_domain = "one of {0, 10, 15, 20, 25, 30, 35, 40}" usage = "TODO: confirm. Branch-read in 0 scenes / 3 scripts; compared against [0, 10, 15, 20, 25, 30, 35, 40]; writers=['CALCCC.BIN', 'CCINIT.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0xaba5c" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 136 scenes / 149 scripts; compared against [0, 1]; writers=['DEBUGADV.BIN', 'DEBUGADV2.BIN', 'SC0000.BIN', 'SC0010.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0xaba5e" name = "" category = "story-flag" type = "int" value_domain = "one of {2}" usage = "TODO: confirm. Branch-read in 0 scenes / 5 scripts; compared against [2]; writers=['DEBUGMAP.BIN', 'DEBUGMAP2.BIN', 'DEBUGMAP3.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0xcc9f3" name = "" category = "story-flag" type = "int" value_domain = "?" usage = "TODO: confirm. Branch-read in 0 scenes / 6 scripts; compared against []; writers=['CALCSCOPE.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0xccc21" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 0 scenes / 4 scripts; compared against [0]; writers=['CHMENU.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0xeff77" name = "" category = "story-flag" type = "int" value_domain = "one of {0, 2, 3}" usage = "TODO: confirm. Branch-read in 0 scenes / 3 scripts; compared against [0, 2, 3]; writers=['BTRTN.BIN', 'MVRTN.BIN', 'RTN_B001.BIN', 'RTN_B002.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x152617" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 0 scenes / 4 scripts; compared against [0]; writers=['CLOSE.BIN', 'FIELD.BIN', 'INFOEN.BIN', 'READY.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x152618" name = "" category = "story-flag" type = "int" value_domain = "one of {1, 2, 4, 7}" usage = "TODO: confirm. Branch-read in 0 scenes / 3 scripts; compared against [1, 2, 4, 7]; writers=['FIELD.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x1560e7" name = "" category = "story-flag" type = "int" value_domain = "one of {0, 1, 2, 3, 4, 5, 6, 7}" usage = "TODO: confirm. Branch-read in 0 scenes / 4 scripts; compared against [0, 1, 2, 3, 4, 5, 6, 7]; writers=['MAGIC.BIN', 'SELACT.BIN', 'SUMMON.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x15a094" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 0 scenes / 6 scripts; compared against [0]; writers=['ALCHEMY.BIN', 'EVOLVE.BIN', 'SELSTAGE.BIN', 'STUDY.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x15a095" name = "" category = "story-flag" type = "int" value_domain = "{0,1}" usage = "TODO: confirm. Branch-read in 0 scenes / 6 scripts; compared against [0]; writers=['INFO.BIN', 'INFOCH.BIN', 'MENU.BIN']." source = "auto-shape" confidence = "med" depends_on = [] [[global]] address = "0x4dfbc" name = "scjump_progress_a" category = "counter" type = "int" value_domain = "progress index" usage = "Dominant SCJUMP switch input (1609 comparison reads) — a per-chapter story-progress counter/position the progression machine branches on. INFERENCE from SCJUMP usage; confirm exact meaning via a listing/playthrough." source = "inference" confidence = "med" depends_on = [] [[global]] address = "0x2052e" name = "scjump_progress_b" category = "counter" type = "int" value_domain = "progress index" usage = "Second SCJUMP switch input (1223 comparison reads) — progression counter/position. INFERENCE from SCJUMP usage." source = "inference" confidence = "med" depends_on = [] [[global]] address = "0x152618" name = "scjump_progress_c" category = "counter" type = "int" value_domain = "progress index" usage = "Third SCJUMP switch input (530 comparison reads) — progression counter/position. INFERENCE from SCJUMP usage." source = "inference" confidence = "med" depends_on = [] [[global]] address = "0xe6c5d" name = "scjump_progress_d" category = "counter" type = "int" value_domain = "progress index" usage = "SCJUMP switch input (168 comparison reads) — progression counter/position. INFERENCE from SCJUMP usage." source = "inference" confidence = "med" depends_on = []