stage_object_runtime_flags
Global of Kamidori Alchemy Meister: the cell G:0x2a2d63, of type int[50], unknown, values bit0 placed/visible, bit1 active (uses remaining), bit2 state overlay (class 3 exhausted / class 2 available).
SETOBJ rebuilds it: bit0 for every placed object (@0xa3), bit1 when use count < use limit (@0x1f5), bit2 per object_type_state_mode; DRAWOBJ draws bit0 objects, FIELD only interacts with bit1 objects.
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 | 20 |
SETOBJ | 0 | 0 | 7 |
DRAWOBJ | 0 | 0 | 3 |
CALCOCC | 0 | 0 | 2 |
FELLOW | 0 | 0 | 2 |
ADDEN | 0 | 0 | 1 |
CALCBTPARAM | 0 | 0 | 1 |
MVSEEK | 0 | 0 | 1 |
RTN_M004 | 0 | 0 | 1 |
RTN_M005 | 0 | 0 | 1 |
RTN_M008 | 0 | 0 | 1 |
RTN_M009 | 0 | 0 | 1 |
RTN_M010 | 0 | 0 | 1 |
RTN_M011 | 0 | 0 | 1 |
RTN_M012 | 0 | 0 | 1 |
RTN_M015 | 0 | 0 | 1 |
SETOCC | 0 | 0 | 1 |
STATUS | 0 | 0 | 1 |