SELSTAGE
Script SELSTAGE.BIN of Kamidori Alchemy Meister: id 0x4442, 1181 instructions, fingerprint c8389a8e2e4e.
The stage list, the world map's choice of a floor: it puts the stage under its cursor in current_stage_id and runs that stage's loaders for its preview, which shows the enemy slots whose gates pass. Nothing is placed.
Source: the patch point kamidori.stage.after_list_preview
Calls
It calls MES, ORGANIZE, READICON (2 sites), SETADVFLAG (2 sites). It also has 4 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 26 reads, 13 writes and 5 indexes more.
Patch points
kamidori.stage.after_list_preview, at0x1408
Waits
Its instructions that can wait (for input, a sleep, a transition, a dialog or a movie), by opcode:
sleep: 1