benilla-re systems structs docs

PlayItemDisplaySound

function · sound · orchestration

Address
0x457ff0 · 62 bytes, up to 0x45802d
Meaning
Plays the ItemGroupSounds sound of a kind for an item display id
Confidence
verified, proof one
Finding
sound/interface#item-sounds

Finding: Item sounds in sound: the interface

SndInterfacePlayItemSound(kind, item) plays a live item's sound of kind 0, 1 or 2. Only the wrapped-item rows label a kind; the callers pass 0 when an item goes onto the cursor and 1 when it leaves it. A wrapped item (flag 0x8 in its fields' +0x3c) plays the row named (DONOTRENAME)WrappedItemDrop for kind 1 and (DONOTRENAME)WrappedItemPickup otherwise; any other item plays column kind + 1 of its cached ItemGroupSounds row, or nothing without one. 0x457ff0(kind, displayId) reaches the same row through ItemDisplayInfo column 11.

The derivation is in the doc.

Callers 4

Callees 1

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