Open kemenaran opened 4 years ago
There are entries missing for a few IDs in hJingle and hNoiseSfx. Shall I take a look if there are any missing sounds?
The system for sounds is similar to the system for music tracks. There's an address where you write an ID to play a track/sound, and then that ID gets copied to other addresses and the PlayMusicTrack address gets emptied.
Sure, if you can document the missing sounds and jingles, that'd be great.
Sounds effects (i.e. jingles, waveform-based sfx and noise-based sfx) are generated in https://github.com/zladx/LADX-Disassembly/blob/master/src/code/audio/sfx.asm.
The format seems pretty straightforward; probably no op-codes are involved. Still, the code needs documentation, and at least labeling of the different sound effects.