stage_cleared_flags
Global of Kamidori Alchemy Meister: the cell G:0x4a6d, of type int[1000], story-flag, values 1 once the stage has been cleared.
CHECKSTAGE@0x183 returns it for the prerequisite (labyrinth, floor) stage; FIELD@0x533/0x6ac (first clear vs revisit: inline array 0x14041d, reset of exploration masks), SELSTAGE@0x680 (party-requirement column set), STAGECLEAR/STAGECLOSE/SETSTAGEFLAG write it.
OME’s registry gives it with med confidence, from investigation. The base mod kamidori-base exports the name, so Lua and an event’s fields can use it.
Scripts that use it
The game’s scripts whose instructions read, write or index (take as an array’s base) the cell, with how many of their operands do each, from OME’s script index.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
STAGEREADY | 0 | 0 | 48 |
SETSTAGEFLAG | 0 | 0 | 12 |
$3$CLOSE | 10 | 0 | 0 |
STAGEROUND | 0 | 0 | 10 |
FIELD | 0 | 0 | 9 |
STAGECLOSE | 0 | 0 | 8 |
SELSTAGE | 0 | 0 | 6 |
AIM | 0 | 0 | 2 |
DRAWCHP | 0 | 0 | 2 |
ORGANIZE | 0 | 0 | 2 |
CHECKSTAGE | 0 | 0 | 1 |
CLOSE | 1 | 0 | 0 |
INFO3 | 0 | 0 | 1 |
STAGECLEAR | 0 | 0 | 1 |