SC4520
Script SC4520.BIN of Kamidori Alchemy Meister: id 0x2e1f, 2568 instructions, fingerprint c2c7ef0a40d9.
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), LOOK, MENU, RENDERMAP, SETOCC. 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 566 reads, 591 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 | 14 | 0 |
current_world_area_id | 0 | 20 | 0 |
story_event_flags | 2 | 17 | 0 |
unit_voice_family_unit_ids | 0 | 0 | 17 |
unit_voice_setting_slot | 0 | 0 | 17 |
voice_suppressed | 0 | 0 | 16 |
scjump_decision_out | 14 | 0 | 0 |
shared_scratch_value | 8 | 5 | 0 |
costume_sprite_hooks | 0 | 0 | 12 |
event_cg_variant_handler_chain | 0 | 0 | 12 |
arena_battle_active | 10 | 0 | 0 |
current_labyrinth_id | 10 | 0 | 0 |
stage_bgm_id | 1 | 1 | 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 |
set_land_terrain_id | 0 | 1 | 0 |
Waits
Its instructions that can wait (for input, a sleep, a transition, a dialog or a movie), by opcode: