SC4810
Script SC4810.BIN of Kamidori Alchemy Meister: id 0x2e46, 2287 instructions, fingerprint 414cb93da96c.
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), LOOK (3 sites), MENU, RENDERMAP (2 sites), RESETLAND (2 sites). It also has 2 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 455 reads, 495 writes and 64 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
party_on_field | 40 | 30 | 0 |
stage_result | 10 | 30 | 0 |
shared_loop_index | 23 | 7 | 0 |
current_world_area_id | 0 | 20 | 0 |
shared_scratch_value | 8 | 8 | 0 |
scjump_decision_out | 14 | 0 | 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 |
adv_substituted_image_resource | 5 | 3 | 0 |
voice_suppressed | 0 | 0 | 8 |
stage_bgm_id | 2 | 2 | 0 |
costume_sprite_hooks | 0 | 0 | 2 |
event_cg_variant_handler_chain | 0 | 0 | 2 |
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: 5show-text: 24wait-for-input: 23