Files
Josh 0dfec24967 Allow names for voicegroups and use a macro for use with drumsets (#2149)
mid2agb has been modified to allow more than just numbers when naming voicegroups and voicegroups have been renamed to match. A "voice_group" macro has been set up with a optional parameter for the starting note will shift the offset by the specified amount * 0xC which is the length of 1 voice in a voicegroup. All drumset voicegroups have a "starting_note" of 36.
2025-07-30 19:43:08 +01:00

42 lines
820 B
ArmAsm

.include "MPlayDef.s"
.equ se_wall_hit_grp, voicegroup_rs_sfx_1
.equ se_wall_hit_pri, 2
.equ se_wall_hit_rev, reverb_set+50
.equ se_wall_hit_mvl, 127
.equ se_wall_hit_key, 0
.equ se_wall_hit_tbs, 1
.equ se_wall_hit_exg, 0
.equ se_wall_hit_cmp, 1
.section .rodata
.global se_wall_hit
.align 2
@********************** Track 1 **********************@
se_wall_hit_1:
.byte KEYSH , se_wall_hit_key+0
.byte TEMPO , 220*se_wall_hit_tbs/2
.byte VOICE , 89
.byte VOL , 80*se_wall_hit_mvl/mxv
.byte BEND , c_v+0
.byte N18 , Gn1 , v127
.byte W24
.byte FINE
@******************************************************@
.align 2
se_wall_hit:
.byte 1 @ NumTrks
.byte 0 @ NumBlks
.byte se_wall_hit_pri @ Priority
.byte se_wall_hit_rev @ Reverb.
.word se_wall_hit_grp
.word se_wall_hit_1
.end