benilla-re systems structs docs

s_soundNight

global · sound

Address
0xb05f18 · 4 bytes, up to 0xb05f1b
Type
uint32_t
Meaning
Holds 1 at night and 0 by day, the column of the music and ambience rows
Confidence
verified, proof one
Finding
sound/interface#day-and-night

Finding: Day and night in sound: the interface

The frame handler recomputes the night flag each frame: day while the game clock lies in the range WowTime::InRange gets for 05:30 to 21:00 (any date), night otherwise. A change refreshes the ambience with a fade. The handler also ends a finished zone intro and runs the duck.

The derivation is in the doc.