Skip to content

Adult titles

The games this site covers are adult titles. Their data, pictures and text include sexual content.

Continue only if you are an adult where you live.

tile_room_ids

Global of Kamidori Alchemy Meister: the cell G:0x50bb7, of type int[27x27], data-table, values room id 1..room_count per tile [ty][tx]; 0 = no tile.

SETROOM@0x0 clears it and flood-fills (queue) from every unassigned nonzero tile across edges whose terrain has terrain_room_join_flags set; edges of non-joining terrain (ids 1 and 3) separate rooms and are drawn as doors. DRAWMAP@0x2df/0x3d8 draws walls/doors where neighbouring room ids differ; CALCOCC@0x75 aggregates faction presence per room.

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.

ScriptReadsWritesIndexes
DRAWMINIMAP0029
DRAWMAP0026
SETROOM005
CALCOCC003
FIELD002