0414: The number changes to hex 83 when I play sfx in the cheat menu. Setting it manually doesn't make sfx play. Instead, it seems to cause music/sfx playing to move to 043A (hex 83) and 043C (song/sfx, see 0416 below)... actually, both areas activate for some sfx but not others.
Fascinating: at slot 46, the Play Sound command dutifully played ARENABUG, the next slot in line. When I reached the music, the sfx further moved to 051E/0520. So it seems to me the hex 83 is to let the game know that sound playing area is in use, so it can use another.
0404/5: Set the former to 00 and it will make the current sfx play... repeatedly... and you can't turn it off? Multiple sound play areas appear to be activated.
0416 contains the currently playing song/sfx. But it's not a trigger; setting it doesn't cause the sound to play, and 0404 seems to ignore it.
SFX are noted in (parentheses).
- 00 TITLE
- 02 CAMEOS
- 03 LEVCOMP
- 04 LEVFAIL
- 05 BUGSPACE
- 06 BULLYBUG
- 07 BONUSLEV
- 08 GAMECOMP
- 0B MRVANGRY
- 0C BUGSCONT
- 0D INVULNER
- (0E running)
- (0F boom)
- (10 stopped running)
- (11 running alt?)
- (12 whiff)
- (13 lion)
- (14 thump?)
- (15-29)
- (2A pause)
- (2B)
- (2C cage)
- (2D-31)
- (32 menu sound)
- (37 nyah nyah nyah-nyah nyah
- (38 took hit)
- (39-3A)
- 3B ARENABUG
- 3C BUGHAUNT
- 3D DUCKRABB
- 3E ARABIAN
- 3F KNIGHTY
- (40-59)
The sound slots in the cheat menu stop at 76 (59). Also, I actually would not record from that menu since some things sounded off from in-game. That, or it happened because of previous sound plays.
FA76 is the larger number used by the timer. It can go as high as 7F (80 and above overflows? and launches the demo immediately). Set at 7F, it lasts a little longer than two loops' worth of some of the longer songs, like BULLYBUG.
To work in Blastem, it must be specified as a byte:
Code:
set [$FFFA76].b 121
I'd love to actually have the sound trigger so I can check for unused music, but I don't know what I'm looking for and all I found otherwise is more timers, button press readers, and such things. Hoping what I've found is enough for someone more experienced to zero in on the trigger, if one exists.
_________________
I'm trying to add information found on the forums easier to find on the wiki. If I forget to credit you, please let me know (or edit the article if you don't want to wait).
WIPs:
2023-09-24