SC0040
Script SC0040.BIN of Soukoku no Arterial: id 0x3ed, 3811 instructions, fingerprint 0f0e818944e2.
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 (2 sites), BUNKI, HIDEWIN, HISTORY (2 sites), MENU, SHOWGIFT (2 sites), SP0040, SP0041. It also has 20 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 593 reads, 678 writes and 138 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
shared_loop_index | 85 | 43 | 0 |
adv_voice_id | 66 | 44 | 0 |
adv_speaker_character_id | 81 | 10 | 0 |
adv_face_id | 27 | 42 | 0 |
adv_page_has_text | 1 | 52 | 0 |
bginit_script_ids | 0 | 0 | 40 |
adv_name_form | 5 | 22 | 0 |
character_voice_character_ids | 0 | 0 | 23 |
character_voice_setting_slots | 0 | 0 | 23 |
character_voice_kinds | 0 | 0 | 22 |
current_scene_id | 14 | 0 | 0 |
scene_played_flags | 0 | 11 | 0 |
card_arg_count | 2 | 2 | 0 |
card_arg_row | 0 | 2 | 0 |
card_arg_slot | 0 | 2 | 0 |
character_names | 0 | 0 | 2 |
face_character_ids | 0 | 0 | 2 |
item_arg_count | 0 | 2 | 0 |
scene_seen_flags | 0 | 0 | 2 |
face_slots | 0 | 0 | 1 |
Waits
Its instructions that can wait (for input, a sleep, a transition, a dialog or a movie), by opcode: