map_overlay_mode_flags
Global of Kamidori Alchemy Meister: the cell G:0x4f9a6, of type int, ui-toggle, values bit0 = DRAWMAP faction overlay on tiles; bit1 = minimap coloured by owner; bit2 = minimap coloured by terrain element.
DRAWMAP@0xa/0x49e gates the per-tile owner tint; DRAWMINIMAP@0x185 (bit1, owner colours) and @0x217 (bit2, element colours from terrain_element_ids).
OME’s registry gives it with med 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 |
|---|---|---|---|
FIELD | 17 | 8 | 0 |
DRAWMINIMAP | 3 | 0 | 0 |
DRAWMAP | 2 | 0 | 0 |
INIT | 0 | 1 | 0 |