benilla-re systems structs docs

SetSoundSubmerged

function · sound · orchestration

Address
0x458650 · 38 bytes, up to 0x458675
Meaning
Stores the submerged state and on a change swaps the ambience, water sounds and reverb
Confidence
verified, proof one
Finding
sound/interface#state-the-other-files-read

Finding: State the other files read in sound: the interface

0x458650(submerged) and 0x458680(ghost) store a boolean at 0x835a44 and 0x835a48 when it changes. A submerged change swaps the ambience at once, tells the water sounds and reselects the reverb; a ghost change restarts the zone music within 3 s and refreshes the ambience with a fade. 0x4586b0(sound) keeps the weather message's sound and refreshes the ambience when it changes; the world load and unload pass 0.

The derivation is in the doc.

Callers 1

Callees 3

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