benilla-re systems structs docs

ChooseZoneAmbience

function · sound · orchestration

Address
0x460bd0 · 72 bytes, up to 0x460c17
Meaning
Returns the ambience row: ghost, underwater, weather or the area's
Confidence
verified, proof one
Finding
sound/ambience#zone-ambience-choice

Finding: Zone ambience choice in sound: ambience and reverb

One ambience plays at a time. Its sound is, in order: the SoundEntries row named Ghost (DONOTRENAME) while the player is a ghost; Underwater (DONOTRENAME) while the camera is submerged; the weather message's sound when there is one and the area does not override it; else the area's SoundAmbience day or night sound. The area change passes the SoundAmbience id with the override flag: 1 from the zone text resolver, 0 from the zone change report.

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.