stage_prerequisite_labyrinth_ids
Global of Kamidori Alchemy Meister: the cell G:0x144014, of type int[1000], data-table, values labyrinth id of the stage that must be cleared first; 0 = no prerequisite.
CHECKSTAGE@0x120..0x183: when nonzero, finds the stage with this labyrinth and stage_prerequisite_floor_numbers and returns its stage_cleared_flags.
OME’s registry gives it with high confidence, from investigation. The base mod kamidori-base exports the name, so Lua and an event’s fields can use it.
Record tables
It is a field of the table stage_catalog, as stage_catalog.id.prerequisite_labyrinth_id.
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 |
|---|---|---|---|
$1$STINIT2 | 0 | 7 | 0 |
CHECKSTAGE | 0 | 0 | 2 |
STINIT2 | 0 | 1 | 0 |