stage_object_tile_x
Global of Kamidori Alchemy Meister: the cell G:0x140446, of type int[50], data-table, values 1-based tile x (terrain grid column = 2*x).
DRAWOBJ@0x10b draws at x*100+50 - width/2; FIELD@0x8b4 indexes the 27x27 tile grid 0x508de; CALCOCC/MVSEEK/RTN_M* use it for occupancy and targeting.
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.
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 | 2733 | 1 |
$3$STINIT | 0 | 417 | 0 |
$1$STINIT | 0 | 225 | 0 |
$2$STINIT | 0 | 77 | 0 |
FIELD | 1 | 0 | 20 |
DRAWOBJ | 0 | 0 | 4 |
RTN_M015 | 0 | 0 | 3 |
CALCOCC | 0 | 0 | 2 |
FELLOW | 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 |
CALCBTPARAM | 0 | 0 | 1 |
MVSEEK | 0 | 0 | 1 |
RTN_M005 | 0 | 0 | 1 |
RTN_M011 | 0 | 0 | 1 |
RTN_M012 | 0 | 0 | 1 |
SETOCC | 0 | 0 | 1 |
STATUS | 0 | 0 | 1 |