benilla-re systems structs docs

s_weatherVisible

global · unassigned

Address
0xca80c4 · 1 bytes, up to 0xca80c4
Type
uint8_t
Meaning
Holds 1 when the frame shows weather: outdoors, or through a portal to an exterior group
Confidence
verified, proof one
Finding
lighting/weather#weather-visibility

Finding: Weather visibility in lighting: weather

Weather draws only when the frame's visibility byte is set. The map object frame clears it; the world sets it when the camera is outside every map object group, and the portal walk sets it on reaching a group whose flags hold 0x148, or 0x40000 with a set byte in its record. Each effect's packet update runs before the test, so drops keep falling unseen indoors; the mist spawns and moves only in its draw, after the test, so it stops while unseen.

The derivation is in the doc.