SC5540
Script SC5540.BIN of Kamidori Alchemy Meister: id 0x2ea2, 4144 instructions, fingerprint b25df5f9ff0c.
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 ADDEN (7 sites), BUNKI, HIDEWIN, HISTORY (2 sites), LOOK (5 sites), MENU, RENDERMAP (11 sites). It also has 38 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 738 reads, 843 writes and 67 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
shared_loop_index | 131 | 43 | 0 |
adv_substituted_image_resource | 41 | 42 | 0 |
party_on_field | 40 | 30 | 0 |
unit_voice_family_unit_ids | 0 | 0 | 54 |
unit_voice_setting_slot | 0 | 0 | 54 |
voice_suppressed | 0 | 0 | 53 |
stage_result | 10 | 30 | 0 |
costume_sprite_hooks | 0 | 0 | 38 |
event_cg_variant_handler_chain | 0 | 0 | 38 |
shared_scratch_value | 8 | 15 | 0 |
current_world_area_id | 0 | 20 | 0 |
scjump_decision_out | 14 | 0 | 0 |
story_event_flags | 2 | 11 | 0 |
arena_battle_active | 10 | 0 | 0 |
current_labyrinth_id | 10 | 0 | 0 |
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: