mpinit_layer_script_ids
Global of Kamidori Alchemy Meister: the cell G:0x3d42c0, of type int[32], index-pointer, values call-script ids: slot 0 = MPINIT (0x4526, INIT2@0x86); later slots = mounted $n$MPINIT append layers.
FIELD@0x4df..0x524 calls every nonzero slot in order (base first, then appends), interleaved with stinit_layer_script_ids. Appends never zero the grid, so they only add (labyrinth, floor) blocks. One of INIT2's 32-slot per-table layer chains (0x3d4180 SCJUMP .. 0x3d42e0 STINIT, stride 0x20).
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.
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 |
|---|---|---|---|
FIELD | 0 | 0 | 2 |
ORGANIZE | 0 | 0 | 2 |
$1$AUTORUN | 0 | 1 | 0 |
$2$AUTORUN | 0 | 1 | 0 |
$3$AUTORUN | 0 | 1 | 0 |
INIT2 | 0 | 1 | 0 |