SETSTAGEFLAG
Script SETSTAGEFLAG.BIN of Kamidori Alchemy Meister: id 0x452d, 493 instructions, fingerprint 7766457ade1d.
Layers over it: $1$SETSTAGEFLAG, $2$SETSTAGEFLAG, $3$SETSTAGEFLAG.
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 COUNTUNIT.
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 23 reads, 3 writes and 18 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
story_event_flags | 24 | 32 | 0 |
current_stage_id | 45 | 0 | 0 |
stage_object_use_counts | 0 | 0 | 28 |
current_floor_no | 24 | 0 | 0 |
current_labyrinth_id | 24 | 0 | 0 |
stage_cleared_flags | 0 | 0 | 12 |
floor_occupation_percent_by_faction | 6 | 0 | 0 |
current_stage_turn | 3 | 0 | 0 |
stage_object_persistent_state | 0 | 0 | 3 |
shared_scratch_value | 0 | 1 | 0 |