Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2019-05-13 13:43:16

Azure_Keys
Member
Registered: 2017-10-05
Post 38/59

Music Headers in Pokecrystal

I am attempting to figure out how to compose music in Pokecrystal disassembly, and am confused about the musicheader macro used for the music files. The code description lists the arguments as "n, index, and address". Address is self explanatory, and I can assume index is for the channel (1-4) used for that code, but I am unclear on what the n argument is. I wasn't able to determine an obvious pattern based on the existing files.

Offline

#2 2019-05-13 22:03:40

Rangi
Member
Registered: 2016-05-09
Post 893/919

Re: Music Headers in Pokecrystal

The first n is the total number of channels from 1 to 4; the rest are all 1s, and are ignored by the sound engine.

Offline

#3 2019-05-14 11:21:53

Azure_Keys
Member
Registered: 2017-10-05
Post 39/59

Re: Music Headers in Pokecrystal

Ah okay, thanks!

Offline

Board footer

Powered by FluxBB