stage_floor_numbers
Global of Kamidori Alchemy Meister: the cell G:0x14151c, of type int[1000], data-table, values floor number; together with stage_labyrinth_ids it is the MPINIT map key.
FIELD@0x13 -> current_floor_no; SELSTAGE@0x72e for event-entry stages; CHECKSTAGE@0x160 prerequisite match; ARENA, ORGANIZE. 38 side/companion stages (floors 11..16, 41..45) have no MPINIT map and are event-entry stages.
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.floor_number.
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 |
FIELD | 0 | 0 | 2 |
SELSTAGE | 0 | 0 | 2 |
CHECKSTAGE | 0 | 0 | 1 |
ORGANIZE | 0 | 0 | 1 |