benilla-re systems structs docs

s_interiorId

global · minimap

Address
0x86f6a0 · 4 bytes, up to 0x86f6a3
Type
int32_t
Meaning
Holds the third word of the interior identity the minimap shows, -1 for none
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.