terrain_room_join_flags
Global of Kamidori Alchemy Meister: the cell G:0x2a3539, of type int[40], data-table, values 1 = an edge of this terrain merges the two tiles into one room; 0 (ids 0, 1, 3) = wall or door between rooms.
SETROOM@0x3b8 only enqueues a neighbour across an edge whose terrain has the flag; DRAWMAP@0xae0/0xd28 draws a door marker on edges between two tiles whose terrain lacks it; DRAWMINIMAP@0x987 likewise.
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 terrain, as terrain.id.room_join_flag.
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 |
|---|---|---|---|
LAINIT | 0 | 24 | 0 |
$3$LAINIT | 0 | 5 | 0 |
DRAWMINIMAP | 0 | 0 | 4 |
DRAWMAP | 0 | 0 | 2 |
SETROOM | 0 | 0 | 1 |