SC0400
Script SC0400.BIN of Soukoku no Arterial: id 0xfac, 7851 instructions, fingerprint 8f620aa22675.
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 ADDCARD (12 sites), BUNKI, CHANGEMODE, GAMECLEAR, HIDEWIN, HISTORY (2 sites), MENU, SHOWGIFT (12 sites), SP0401, SP0401A, SP0401B, SP0401C, SP0401D, SP0401E, SP0401F, SP0401G. It also has 40 calls whose script is computed when it runs.
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 1262 reads, 1593 writes and 281 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
adv_voice_id | 150 | 100 | 0 |
shared_loop_index | 165 | 83 | 0 |
adv_speaker_character_id | 162 | 43 | 0 |
adv_face_id | 47 | 89 | 0 |
adv_page_has_text | 1 | 110 | 0 |
bginit_script_ids | 0 | 0 | 80 |
scene_played_flags | 45 | 11 | 0 |
adv_name_form | 5 | 49 | 0 |
character_voice_character_ids | 1 | 0 | 50 |
character_voice_setting_slots | 0 | 0 | 51 |
character_voice_kinds | 1 | 0 | 49 |
card_arg_count | 12 | 12 | 0 |
current_scene_id | 14 | 0 | 0 |
card_arg_row | 0 | 12 | 0 |
card_arg_slot | 0 | 12 | 0 |
item_arg_count | 0 | 12 | 0 |
current_area_id | 2 | 1 | 0 |
area_places | 1 | 0 | 1 |
character_names | 0 | 0 | 2 |
face_character_ids | 0 | 0 | 2 |
scene_seen_flags | 0 | 0 | 2 |
chapter | 0 | 1 | 0 |
face_slots | 0 | 0 | 1 |
Waits
Its instructions that can wait (for input, a sleep, a transition, a dialog or a movie), by opcode:
coroutine-resume: 2display-furigana: 6mark-frame-yield: 33show-text: 115sleep: 9wait-for-input: 108