benilla-re systems structs docs

SetAreaMusic

function · sound · primitive

Address
0x461260 · 33 bytes, up to 0x461280
Meaning
Records the area's music id, tries its intro and selects the zone music when none plays
Confidence
verified, proof one
Finding
sound/music#zone-intro-music

Finding: Zone intro music in sound: music

0x461260(music, intro) is the area change: it records the area's ZoneMusic id, tries the ZoneIntroMusicTable row, and selects the zone music only when no intro plays. An intro plays its sound once on bus 0 unless music is paused, the player is a ghost, or its minimum delay (minutes, +0x10) since it last played has not passed. A playing intro stays when the new row's priority (+0x0c) is below its own; otherwise it fades over 3.0 s. When the intro ends the frame handler hands back to the zone music.

The derivation is in the doc.

Callers 2

Callees 2

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