current_floor_height_tiles
Global of Kamidori Alchemy Meister: the cell G:0x4288, of type int, index-pointer, values 5..25 tiles.
Written by each MPINIT block (MPINIT@0x37). Upper bound of tile-y loops (FIELD@0x70d, DRAWMAP@0x264, SETROOM@0x39, CALCOCC@0x3b7); FIELD@0x663 sets the camera bottom bound to 50+100*H.
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 |
|---|---|---|---|
MPINIT | 0 | 146 | 0 |
$3$MPINIT | 0 | 14 | 0 |
FIELD | 13 | 0 | 0 |
$1$MPINIT | 0 | 11 | 0 |
DRAWMINIMAP | 3 | 0 | 0 |
$2$MPINIT | 0 | 2 | 0 |
RTN_M013 | 2 | 0 | 0 |
RTN_M014 | 2 | 0 | 0 |
ADDEN | 1 | 0 | 0 |
BOMBSEEK | 1 | 0 | 0 |
CALCOCC | 1 | 0 | 0 |
DRAWMAP | 1 | 0 | 0 |
ORGANIZE | 1 | 0 | 0 |
RTN_M002 | 1 | 0 | 0 |
RTN_M004 | 1 | 0 | 0 |
RTN_M005 | 1 | 0 | 0 |
RTN_M006 | 1 | 0 | 0 |
RTN_M007 | 1 | 0 | 0 |
RTN_M008 | 1 | 0 | 0 |
RTN_M009 | 1 | 0 | 0 |
RTN_M010 | 1 | 0 | 0 |
RTN_M011 | 1 | 0 | 0 |
RTN_M012 | 1 | 0 | 0 |
RTN_M015 | 1 | 0 | 0 |
RTN_M016 | 1 | 0 | 0 |
RTN_M019 | 1 | 0 | 0 |
RTN_M071 | 1 | 0 | 0 |
SETROOM | 1 | 0 | 0 |