benilla-re systems structs docs

IsAreaExplored

function · ui · primitive

Address
0x4a9a40 · 75 bytes, up to 0x4a9a8a
Meaning
Returns whether the explored bit of an area bit number is set in a player block
Confidence
verified, proof one
Finding
ui/worldmap#the-exploration-test

Finding: The exploration test in ui: the world map

An AreaPOI row with a positive area id, or a WorldMapOverlay slot, is kept only if the area (AreaTable, found in 0xc0e048) has ExplorationLevel (+0x28) below 0, or the object is the active player and its explored bit for the area's bit number (+0xc) is set. The bits are 256 bytes at +0xe6c of the player block; a bit number of 2048 or more counts as explored. 0x4a9a40 is the bit test.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.