current_floor_width_tiles
Global of Kamidori Alchemy Meister: the cell G:0x4287, of type int, index-pointer, values 4..25 tiles.
Written by each MPINIT block (MPINIT@0x32). Upper bound of every tile-x loop: FIELD@0x72a, DRAWMAP@0x16c, DRAWMINIMAP@0x18 (minimap width = 32+10*W px), SETROOM@0x56, CALCOCC@0x3d4; FIELD@0x650 sets the camera right bound to 50+100*W.
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 |
DRAWMAP | 3 | 0 | 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 |
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 |