mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 11:44:17 +01:00
554210c5e3
Command used for the job: egrep -rl ' $' --include *.c --include *.h --include *.s --include *.inc --include *.txt * | xargs sed -i 's/\s\+$//g' Credits to Grant Murphy from Stack Overflow.
100 lines
2.1 KiB
ArmAsm
100 lines
2.1 KiB
ArmAsm
.include "MPlayDef.s"
|
|
|
|
.equ se_m_tri_attack_grp, voicegroup128
|
|
.equ se_m_tri_attack_pri, 4
|
|
.equ se_m_tri_attack_rev, reverb_set+50
|
|
.equ se_m_tri_attack_mvl, 127
|
|
.equ se_m_tri_attack_key, 0
|
|
.equ se_m_tri_attack_tbs, 1
|
|
.equ se_m_tri_attack_exg, 0
|
|
.equ se_m_tri_attack_cmp, 1
|
|
|
|
.section .rodata
|
|
.global se_m_tri_attack
|
|
.align 2
|
|
|
|
@********************** Track 1 **********************@
|
|
|
|
se_m_tri_attack_1:
|
|
.byte KEYSH , se_m_tri_attack_key+0
|
|
.byte TEMPO , 220*se_m_tri_attack_tbs/2
|
|
.byte VOICE , 58
|
|
.byte BENDR , 24
|
|
.byte PAN , c_v+0
|
|
.byte VOL , 19*se_m_tri_attack_mvl/mxv
|
|
.byte BEND , c_v-32
|
|
.byte N16 , Gn1 , v127
|
|
.byte W01
|
|
.byte VOL , 43*se_m_tri_attack_mvl/mxv
|
|
.byte BEND , c_v-20
|
|
.byte W01
|
|
.byte VOL , 72*se_m_tri_attack_mvl/mxv
|
|
.byte BEND , c_v-8
|
|
.byte W01
|
|
.byte VOL , 92*se_m_tri_attack_mvl/mxv
|
|
.byte BEND , c_v+7
|
|
.byte W01
|
|
.byte VOL , 109*se_m_tri_attack_mvl/mxv
|
|
.byte BEND , c_v+19
|
|
.byte W02
|
|
.byte c_v+28
|
|
.byte W01
|
|
.byte c_v+40
|
|
.byte W01
|
|
.byte c_v+28
|
|
.byte W01
|
|
.byte VOL , 102*se_m_tri_attack_mvl/mxv
|
|
.byte BEND , c_v+19
|
|
.byte W01
|
|
.byte VOL , 88*se_m_tri_attack_mvl/mxv
|
|
.byte BEND , c_v+5
|
|
.byte W02
|
|
.byte VOL , 69*se_m_tri_attack_mvl/mxv
|
|
.byte BEND , c_v-9
|
|
.byte W01
|
|
.byte VOL , 37*se_m_tri_attack_mvl/mxv
|
|
.byte BEND , c_v-20
|
|
.byte W01
|
|
.byte VOL , 17*se_m_tri_attack_mvl/mxv
|
|
.byte BEND , c_v-34
|
|
.byte W10
|
|
.byte FINE
|
|
|
|
@********************** Track 2 **********************@
|
|
|
|
se_m_tri_attack_2:
|
|
.byte KEYSH , se_m_tri_attack_key+0
|
|
.byte VOICE , 4
|
|
.byte VOL , 110*se_m_tri_attack_mvl/mxv
|
|
.byte N02 , Gs3 , v032
|
|
.byte W02
|
|
.byte Gn3
|
|
.byte W02
|
|
.byte Fn3
|
|
.byte W03
|
|
.byte En3
|
|
.byte W02
|
|
.byte Dn3
|
|
.byte W03
|
|
.byte Cn3
|
|
.byte W02
|
|
.byte Gs2
|
|
.byte W10
|
|
.byte FINE
|
|
|
|
@******************************************************@
|
|
.align 2
|
|
|
|
se_m_tri_attack:
|
|
.byte 2 @ NumTrks
|
|
.byte 0 @ NumBlks
|
|
.byte se_m_tri_attack_pri @ Priority
|
|
.byte se_m_tri_attack_rev @ Reverb.
|
|
|
|
.word se_m_tri_attack_grp
|
|
|
|
.word se_m_tri_attack_1
|
|
.word se_m_tri_attack_2
|
|
|
|
.end
|