stage_revealed_tile_bitmask
Global of Kamidori Alchemy Meister: the cell G:0x1ec65, of type int[1000x100], story-flag, values [stage][tile_y] bit tile_x = tile explored/visible (fog of war, persists across visits).
FIELD@0x6d4 clears the stage row block on first entry, then sets bits for tiles of visibility class 1 (FIELD@0x7b1) or every non-void tile at 100% (FIELD@0x779). CALCOCC@0x26c reveals player-owned rooms, SETLAND@0xd7 reveals dug cells, DELLAND@0xb4 hides deleted ones, RESETLAND@0x103. DRAWMAP@0xa8b draws fog on unrevealed tiles (lighter 'frontier' tint when a 4-neighbour is revealed) and hides class-3 doors; DRAWMINIMAP@0xb0 only plots revealed tiles; MVSEEK@0x4c9 lets hidden (class 3) tiles be crossed once revealed.
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 |
|---|---|---|---|
FIELD | 0 | 0 | 15 |
DRAWMINIMAP | 0 | 0 | 5 |
DRAWMAP | 0 | 0 | 4 |
DRAWOBJ | 0 | 0 | 2 |
RENDERMAP | 0 | 0 | 2 |
ATSEEK | 0 | 0 | 1 |
BOMBSEEK | 0 | 0 | 1 |
CALCOCC | 0 | 0 | 1 |
DELLAND | 0 | 0 | 1 |
DRAWCH | 0 | 0 | 1 |
DRAWCHSTATE | 0 | 0 | 1 |
DRAWVOL | 0 | 0 | 1 |
FELLOW | 0 | 0 | 1 |
MVSEEK | 0 | 0 | 1 |
RESETLAND | 0 | 0 | 1 |
SETLAND | 0 | 0 | 1 |
SETOCC | 0 | 0 | 1 |
WARPD | 0 | 0 | 1 |