SC4020
Script SC4020.BIN of Kamidori Alchemy Meister: id 0x2df3, 2183 instructions, fingerprint 09557467bd14.
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 BUNKI, HIDEWIN, HISTORY (2 sites), MENU. It also has 12 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 547 reads, 522 writes and 64 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
party_on_field | 40 | 30 | 0 |
shared_loop_index | 53 | 17 | 0 |
stage_result | 10 | 30 | 0 |
adv_substituted_image_resource | 15 | 13 | 0 |
current_world_area_id | 0 | 20 | 0 |
scjump_decision_out | 14 | 0 | 0 |
costume_sprite_hooks | 0 | 0 | 12 |
event_cg_variant_handler_chain | 0 | 0 | 12 |
shared_scratch_value | 8 | 3 | 0 |
story_event_flags | 0 | 11 | 0 |
arena_battle_active | 10 | 0 | 0 |
current_labyrinth_id | 10 | 0 | 0 |
unit_voice_family_unit_ids | 0 | 0 | 9 |
unit_voice_setting_slot | 0 | 0 | 9 |
voice_suppressed | 0 | 0 | 8 |
unit_speaker_names | 0 | 0 | 2 |
viewed_scene_flags | 0 | 0 | 2 |
Waits
Its instructions that can wait (for input, a sleep, a transition, a dialog or a movie), by opcode:
coroutine-resume: 2mark-frame-yield: 7show-text: 18wait-for-input: 17