SELGEM
Script SELGEM.BIN of Kamidori Alchemy Meister: id 0x445c, 690 instructions, fingerprint 19353e3a918a.
OME has no note on what it does yet; what follows is from its script index.
Calls
Called by ENHANCE.
It calls DRAWTOOLTIP. It also has 1 call 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 3 reads, 5 writes and 5 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
current_item_id | 9 | 6 | 0 |
item_category | 0 | 0 | 5 |
current_unit_id | 3 | 1 | 0 |
current_character_id | 1 | 2 | 0 |
item_icon_asset_id | 0 | 0 | 3 |
item_inventory_counts | 0 | 0 | 3 |
item_character_whitelist | 0 | 0 | 2 |
unit_canonical_character_id | 0 | 0 | 2 |
item_handler_script_id | 0 | 0 | 1 |
item_usability_flags | 0 | 0 | 1 |
roster_flags | 0 | 0 | 1 |
roster_unit_ids | 0 | 0 | 1 |
Waits
Its instructions that can wait (for input, a sleep, a transition, a dialog or a movie), by opcode:
sleep: 1