SC5040
Script SC5040.BIN of Kamidori Alchemy Meister: id 0x2e85, 2235 instructions, fingerprint 2c2b82c13553.
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 6 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 645 reads, 589 writes and 64 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
party_on_field | 40 | 30 | 0 |
shared_loop_index | 35 | 11 | 0 |
stage_result | 10 | 30 | 0 |
adv_substituted_image_resource | 9 | 13 | 0 |
current_world_area_id | 0 | 20 | 0 |
story_event_flags | 0 | 20 | 0 |
scjump_decision_out | 14 | 0 | 0 |
shared_scratch_value | 8 | 3 | 0 |
unit_voice_family_unit_ids | 0 | 0 | 11 |
unit_voice_setting_slot | 0 | 0 | 11 |
arena_battle_active | 10 | 0 | 0 |
current_labyrinth_id | 10 | 0 | 0 |
voice_suppressed | 0 | 0 | 10 |
costume_sprite_hooks | 0 | 0 | 6 |
event_cg_variant_handler_chain | 0 | 0 | 6 |
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: 14show-text: 11wait-for-input: 10