benilla-re systems structs docs

SndInterfacePlayItemSound

function · sound · orchestration

Address
0x457fb0 · 54 bytes, up to 0x457fe5
Meaning
Plays a live item's ItemGroupSounds or wrapped-item sound of a kind
Confidence
verified, proof one
Name from
the community database (idb)
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 3

Callees 1

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