SC1020
Script SC1020.BIN of Kamidori Alchemy Meister: id 0x2664, 18746 instructions, fingerprint 76478b533f1c.
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 ADDITEM, BUNKI, HIDEWIN, HISTORY (2 sites), MENU, UNITECH. It also has 16 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 3946 reads, 4643 writes and 67 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
unit_voice_family_unit_ids | 0 | 0 | 288 |
unit_voice_setting_slot | 0 | 0 | 288 |
voice_suppressed | 0 | 0 | 287 |
adv_substituted_image_resource | 19 | 243 | 0 |
shared_loop_index | 65 | 21 | 0 |
party_on_field | 10 | 10 | 0 |
costume_sprite_hooks | 0 | 0 | 16 |
event_cg_variant_handler_chain | 0 | 0 | 16 |
story_event_flags | 0 | 15 | 0 |
scjump_decision_out | 14 | 0 | 0 |
shared_scratch_value | 8 | 3 | 0 |
current_world_area_id | 0 | 10 | 0 |
stage_result | 0 | 10 | 0 |
current_town_location_id | 2 | 0 | 0 |
unit_speaker_names | 0 | 0 | 2 |
viewed_scene_flags | 0 | 0 | 2 |
current_item_count_change | 0 | 1 | 0 |
current_item_id | 0 | 1 | 0 |
joining_unit_count | 0 | 1 | 0 |
joining_unit_ids | 0 | 1 | 0 |
joining_unit_modes | 0 | 1 | 0 |
scjump_context_id | 1 | 0 | 0 |
town_site_x | 0 | 0 | 1 |
town_site_y | 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: 9mark-frame-yield: 136reveal-surface-staggered-strips: 4show-text: 482sleep: 2wait-for-input: 471