Vextrove
Vextrove
Merge!
_wActiveMusicTrack_ ($D368) - setting this begins playing a new track and then resets itself to 00 _hMusicTrack_ ($FFB0) - is the track of the current area, e.g. overworld, village, mysterious...
When $D369 is set to 00, music stops playing. $FFBC *sometimes* stores the currently audible (what you actually hear) trackID. $FFBD seems to store trackIDs, but only updates in special...
When manually setting the music using _wActiveMusicTrack_ using a debugger, $D369 holds the ID of the currently audible track, but but with a value subtracted. (See next comment)
_wMusicMode_ ($D3CE) - For some tracks this is set to 01. For others, it is set to 00. When writing $00 to $10 to _wActiveMusicTrack_, $D369 matches the trackID written...
I propose _wActiveMusicTrack_ be renamed to _wMusicTrackToPlay_, and _hMusicTrack_ to _hCurrentScreenTrack_. _hNextMusicTrack_ to _hNextScreenTrackToFadeInto_, but I am not sure about this one. I will have to do some more debugging...
I'm glad you figured all that index stuff out! `wActiveMusicIndex` and `wActiveMusicTable` sound great. `hMusicTrack` is not the active music track. It is the default track of the current area,...
I will change these variables and submit a PR tomorrow. EDIT: done.
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...
I have already done this. I am trying to figure out how to upload an entire src/ folder to github.