PlayZoneIntro
function · sound · primitive
- Address
0x461290· 431 bytes, up to0x46143e- Meaning
- Plays a ZoneIntroMusicTable row's sound once unless refused by the pause, ghost, delay or priority
- 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 1
- SetAreaMusic sound
Callees 13
- OsGetAsyncTimeMs core
- ApplySoundDefVolumePitch sound
- PickSoundDefFile sound
- GetSoundDefinition sound
- IsZoneMusicPaused sound
- CanPlayZoneIntro sound
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- Sound::Play2D sound
- Sound::Stop sound
- Sound::IsPlaying sound
- Sound::Stop2 sound
- Sound::SetPaused sound
Calls and jumps by a bare address, from tables/calls.tsv.