This game uses samples. let's set those up too!
static const char *const sample_names[] =
{ // Address triggered at
"*thehand",
"01", /* game start tune */ // 075f
"02", /* coin in */ // 0074
"03", /* eat dot */ // 0e45
"05", /* eat dollar sign */ // 0e45
"06", /* door open */ // 19e1
"07", /* door close */ // 1965
"08", /* theme song */ // 0821
//"09" // 1569
/* one of these two is played after eating the last dot */
"0a", /* piccolo */ // 17af
"0b", /* tune */ // 17af
//"0f" // 08ee
"10", /* 'We're even. Bye Bye!' */ // 162a
"11", /* 'You got me!' */ // 1657
"12", /* 'You have lost out' */ // 085e
"13", /* 'Rock' */ // 14de
"14", /* 'Scissors' */ // 14f3
"15", /* 'Paper' */ // 1508
/* one of these is played when going by the girl between levels */
"16", /* 'Very good!' */ // 194a
"17", /* 'Wonderful!' */ // 194a
"18", /* 'Come on!' */ // 194a
"19", /* 'I love you!' */ // 194a
"1a", /* 'See you again!' */ // 194a
0
};
Just like the rom struct
static struct BurnSampleInfo thehandSampleDesc[] = {
{ "01", SAMPLE_NOLOOP }, /* game start tune */ // 075f
{ "02", SAMPLE_NOLOOP }, /* coin in */ // 0074
{ "03", SAMPLE_NOLOOP }, /* eat dot */ // 0e45
{ "05", SAMPLE_NOLOOP }, /* eat dollar sign */ // 0e45
{ "06", SAMPLE_NOLOOP }, /* door open */ // 19e1
{ "07", SAMPLE_NOLOOP }, /* door close */ // 1965
{ "08", SAMPLE_NOLOOP }, /* theme song */ // 0821
//"09" // 1569
/* one of these two is played after eating the last dot */
{ "0a", SAMPLE_NOLOOP }, /* piccolo */ // 17af
{ "0b", SAMPLE_NOLOOP }, /* tune */ // 17af
//"0f" // 08ee
{ "10", SAMPLE_NOLOOP }, /* 'We're even. Bye Bye!' */ // 162a
{ "11", SAMPLE_NOLOOP }, /* 'You got me!' */ // 1657
{ "12", SAMPLE_NOLOOP }, /* 'You have lost out' */ // 085e
{ "13", SAMPLE_NOLOOP }, /* 'Rock' */ // 14de
{ "14", SAMPLE_NOLOOP }, /* 'Scissors' */ // 14f3
{ "15", SAMPLE_NOLOOP }, /* 'Paper' */ // 1508
/* one of these is played when going by the girl between levels */
{ "16", SAMPLE_NOLOOP }, /* 'Very good!' */ // 194a
{ "17", SAMPLE_NOLOOP }, /* 'Wonderful!' */ // 194a
{ "18", SAMPLE_NOLOOP }, /* 'Come on!' */ // 194a
{ "19", SAMPLE_NOLOOP }, /* 'I love you!' */ // 194a
{ "1a", SAMPLE_NOLOOP }, /* 'See you again!' */ // 194a
{ "", 0 } // must have this at the end!
};
STD_SAMPLE_PICK(thehand)
STD_SAMPLE_FN(thehand)