benilla-re systems structs docs

ZoneMusicInitialize

function · sound · primitive

Address
0x45ffc0 · 118 bytes, up to 0x460035
Meaning
Registers the zone music pump, clears the schedule and finds the ghost music row
Confidence
verified, proof one
Finding
sound/music#zone-music-selection

Finding: Zone music selection in sound: music

0x4602e0(id) makes ZoneMusic row id the area's music when it has a day or night sound, else none. Unless a Lua or server track plays, a playing zone track of another row, or any track when there is no row, fades out over 4.0 s, and the schedule is set to start at once; the same row keeps playing. The ghost's music is the row named GhostMusic (DONOTRENAME), chosen instead while the player is a ghost.

The derivation is in the doc.

Callers 1

Callees 2

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