stage_labyrinth_ids
Global of Kamidori Alchemy Meister: the cell G:0x141134, of type int[1000], data-table, values labyrinth id 2..38, or -1.
FIELD@0x7 -> current_labyrinth_id; FIELD@0x3f reverse lookup; SELSTAGE@0x480 filters the stage list by the current labyrinth; CHECKSTAGE@0x1d skips ids <= 0 and @0x14b resolves prerequisites; ARENA, INFO3, ORGANIZE read it.
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.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 |
|---|---|---|---|
STINIT2 | 0 | 181 | 0 |
$3$STINIT2 | 0 | 15 | 0 |
$1$STINIT2 | 0 | 11 | 0 |
$2$STINIT2 | 0 | 2 | 0 |
ARENA | 0 | 0 | 2 |
CHECKSTAGE | 0 | 0 | 2 |
FIELD | 0 | 0 | 2 |
INFO3 | 0 | 0 | 2 |
SELSTAGE | 0 | 0 | 2 |
ORGANIZE | 0 | 0 | 1 |