stage_object_runtime_state
Global of Himegari Dungeon Meister: the cell G:0x141a4, of type int[][50], data-table, values type-dependent small integer state; initial values observed 1..3.
Per-stage, per-object-slot runtime state. FIELD initializes mode-1 objects from STINIT's first tagged payload on a fresh entry while the stage is not yet cleared (FIELD@0x4d7-0x54c) and updates capturable-object ownership; DRAWOBJ uses it as the vertical sprite-row index. Chests and treasure set it to 1 once taken (FIELD@0x611a); the door handler sets 1 on open or unlock (FIELD@0x6498, 0x64d9) and 0 on lock (FIELD@0x63d3); for a hazard it is the owner whose negative turn changes it skips (FIELD@0x7a6f-0x7a8f). RTN_M015 treats the state of Magic Pillar types 2..4 as their controlling faction and targets pillars whose value differs from the acting entity's faction.
OME’s registry gives it with high confidence, from investigation. The base mod himegari-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 | 30 |
SETOCC | 0 | 0 | 3 |
CALCOCC | 0 | 0 | 2 |
DRAWMINIMAP | 0 | 0 | 1 |
DRAWOBJ | 0 | 0 | 1 |
READY | 1 | 0 | 0 |
RTN_M008 | 0 | 0 | 1 |
RTN_M009 | 0 | 0 | 1 |
RTN_M015 | 0 | 0 | 1 |
SALLY | 0 | 0 | 1 |
SC0550 | 1 | 0 | 0 |