benilla-re systems structs docs

s_interiorFlag

global · minimap

Address
0xceaa60 · 1 bytes, up to 0xceaa60
Type
uint8_t
Meaning
Holds 1 while the node is in an interior; it selects the zoom table
Confidence
verified, proof one
Finding
minimap/update#indoor-state

Finding: Indoor state in minimap: update

The node is asked which interior it is in (0x670540, three words). A positive answer sets the state byte to 1 and the group identity words are cached; a change of the first two words, or the third word differing from 0x86f6a0, rebuilds the interior: it refreshes the orientation, builds the world name and sets all tile keys to −1. A negative answer clears the state byte and sets the cached words to −1. When the byte 0xceaa60 differs from the state byte it takes its value, sets mask 0x1 of the dirty word and signals the event 0xcf, MINIMAP_UPDATE_ZOOM, because that byte chooses the zoom table (ui/minimap#the-zoom-radius).

The derivation is in the doc.