SYSTEM4
Script SYSTEM4.BIN of Soukoku no Arterial: id 0x0, 601 instructions, fingerprint b0d724e6c6a4.
OME has no note on what it does yet; what follows is from its script index.
Calls
No script calls it by a constant id.
It calls AFFAIR, ALLMAP, ARENA, BTL, CHECKCONFIG, INIT, INIT2, INITCONFIG, LOADCONFIG, LOGO, SETADVFLAG, SETFATE, TITLE. It also has 2 calls whose script is computed when it runs.
It preloads CALCARM, DECKCARDLIST, DRAWCARDINFO, DRAWITEMINFO, DRAWTALENT into a script slot.
Globals
The named globals its instructions read, write or index (take as an array’s base), with how many operands do each. Cells no global names yet take 120 reads, 151 writes and 31 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
shared_loop_index | 7 | 4 | 0 |
current_scene_id | 5 | 1 | 0 |
adv_speaker_character_id | 4 | 1 | 0 |
scjump_context_id | 3 | 1 | 0 |
scene_seen_flags | 0 | 0 | 2 |
scjump_chain_script_ids | 0 | 0 | 2 |
adv_page_has_text | 0 | 1 | 0 |
scene_script_ids | 0 | 0 | 1 |
scjump_chain_pending | 0 | 1 | 0 |
time_slot | 1 | 0 | 0 |
Waits
Its instructions that can wait (for input, a sleep, a transition, a dialog or a movie), by opcode: