stage_object_tile_x
Global of Himegari Dungeon Meister: the cell G:0xe7325, of type int[50], data-table, values map tile X coordinate, 1..25 in the shipped stages.
X coordinate for each current-stage object slot. DRAWOBJ converts it to centered map-space pixels; FIELD and CALCOCC use it with stage_object_tile_y for object interaction and occupancy.
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 stage_object, as stage_object.id.tile_x.
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 |
|---|---|---|---|
STINIT | 0 | 2312 | 1 |
$1$STINIT | 0 | 67 | 1 |
FIELD | 1 | 0 | 20 |
CALCOCC | 0 | 0 | 3 |
RTN_M015 | 0 | 0 | 3 |
DRAWOBJ | 0 | 0 | 2 |
RTN_M004 | 0 | 0 | 2 |
RTN_M008 | 0 | 0 | 2 |
RTN_M009 | 0 | 0 | 2 |
RTN_M010 | 0 | 0 | 2 |
ADDEN | 0 | 0 | 1 |
DRAWMINIMAP | 0 | 0 | 1 |
RTN_M005 | 0 | 0 | 1 |
RTN_M011 | 0 | 0 | 1 |
RTN_M012 | 0 | 0 | 1 |
SALLY | 0 | 0 | 1 |
SETOCC | 0 | 0 | 1 |