object_sprite_state_row_mode
Global of Himegari Dungeon Meister: the cell G:0xe6dee, of type int[100], data-table, values {0,1,2}; 1 selects a vertical sprite row from runtime object state; 0 and 2 fix source Y at row 0 (types 6, 15, 16, 27 and 36 leave it 0).
OBINIT metadata indexed by object type. FIELD copies the type-tagged initial payload into stage_object_runtime_state only for mode 1 (FIELD@0x4d7-0x54c); DRAWOBJ likewise multiplies that runtime state by the object sprite height to select source Y only for mode 1 (DRAWOBJ@0x99-0xc7).
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.
Record tables
It is a field of the table object_type, as object_type.id.sprite_state_row_mode.
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 |
|---|---|---|---|
OBINIT | 0 | 41 | 0 |
$1$OBINIT | 0 | 12 | 0 |
DRAWOBJ | 0 | 0 | 1 |
FIELD | 0 | 0 | 1 |