SYSTEM4
Script SYSTEM4.BIN of Kamidori Alchemy Meister: id 0x0, 505 instructions, fingerprint 5849e286afea.
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 ALLMAP, ARENA, CHECKCONFIG, CHECKCONTRACT, FIELD, INIT, INIT2, INITCONFIG, LOADCONFIG, LOGO, OP, SETADVFLAG, STUDIO, TITLE, TOWN. It also has 2 calls whose script is computed when it runs.
It preloads ATSEEK, MVSEEK, SETROUTE into a script slot.
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 105 reads, 89 writes and 7 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
shared_loop_index | 13 | 4 | 0 |
shared_scratch_value | 7 | 2 | 0 |
scjump_decision_out | 5 | 1 | 0 |
scjump_chain_pending | 1 | 2 | 0 |
scjump_handler_chain | 0 | 0 | 2 |
viewed_scene_flags | 0 | 0 | 2 |
scjump_context_id | 0 | 1 | 0 |
scjump_scene_script_resource_ids | 0 | 0 | 1 |
unit_speaker_names | 0 | 0 | 1 |
Waits
Its instructions that can wait (for input, a sleep, a transition, a dialog or a movie), by opcode: