mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 12:14:20 +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.
337 lines
7.0 KiB
ArmAsm
337 lines
7.0 KiB
ArmAsm
.include "MPlayDef.s"
|
|
|
|
.equ se_m_reversal_grp, voicegroup128
|
|
.equ se_m_reversal_pri, 4
|
|
.equ se_m_reversal_rev, reverb_set+50
|
|
.equ se_m_reversal_mvl, 127
|
|
.equ se_m_reversal_key, 0
|
|
.equ se_m_reversal_tbs, 1
|
|
.equ se_m_reversal_exg, 0
|
|
.equ se_m_reversal_cmp, 1
|
|
|
|
.section .rodata
|
|
.global se_m_reversal
|
|
.align 2
|
|
|
|
@********************** Track 1 **********************@
|
|
|
|
se_m_reversal_1:
|
|
.byte KEYSH , se_m_reversal_key+0
|
|
.byte TEMPO , 150*se_m_reversal_tbs/2
|
|
.byte VOICE , 19
|
|
.byte BENDR , 24
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte PAN , c_v+0
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte N03 , Cn5 , v092
|
|
.byte W01
|
|
.byte VOL , 72*se_m_reversal_mvl/mxv
|
|
.byte W01
|
|
.byte 40*se_m_reversal_mvl/mxv
|
|
.byte BEND , c_v+31
|
|
.byte W01
|
|
.byte VOICE , 22
|
|
.byte PAN , c_v-10
|
|
.byte BEND , c_v+0
|
|
.byte N01 , Gn4 , v127
|
|
.byte W01
|
|
.byte VOICE , 19
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte PAN , c_v-1
|
|
.byte BEND , c_v-33
|
|
.byte N03 , Cs5 , v092
|
|
.byte W02
|
|
.byte VOL , 72*se_m_reversal_mvl/mxv
|
|
.byte W01
|
|
.byte 40*se_m_reversal_mvl/mxv
|
|
.byte BEND , c_v+31
|
|
.byte W01
|
|
.byte VOICE , 22
|
|
.byte PAN , c_v+10
|
|
.byte BEND , c_v+0
|
|
.byte N01 , Gs4 , v127
|
|
.byte W01
|
|
.byte VOICE , 19
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v-33
|
|
.byte N03 , Dn5 , v092
|
|
.byte W01
|
|
.byte VOL , 72*se_m_reversal_mvl/mxv
|
|
.byte W02
|
|
.byte 40*se_m_reversal_mvl/mxv
|
|
.byte BEND , c_v+31
|
|
.byte W01
|
|
.byte VOICE , 22
|
|
.byte PAN , c_v-14
|
|
.byte BEND , c_v+0
|
|
.byte N01 , An4 , v127
|
|
.byte W01
|
|
.byte VOICE , 19
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte PAN , c_v-1
|
|
.byte BEND , c_v-33
|
|
.byte N03 , Ds5 , v092
|
|
.byte W01
|
|
.byte VOL , 72*se_m_reversal_mvl/mxv
|
|
.byte W01
|
|
.byte 40*se_m_reversal_mvl/mxv
|
|
.byte BEND , c_v+31
|
|
.byte W02
|
|
.byte VOICE , 22
|
|
.byte PAN , c_v+14
|
|
.byte BEND , c_v+0
|
|
.byte N01 , As4 , v127
|
|
.byte W01
|
|
.byte VOICE , 19
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v-33
|
|
.byte N03 , En5 , v092
|
|
.byte W01
|
|
.byte VOL , 72*se_m_reversal_mvl/mxv
|
|
.byte W01
|
|
.byte 40*se_m_reversal_mvl/mxv
|
|
.byte BEND , c_v+31
|
|
.byte W01
|
|
.byte VOICE , 22
|
|
.byte PAN , c_v-18
|
|
.byte BEND , c_v+0
|
|
.byte N01 , Bn4 , v127
|
|
.byte W02
|
|
.byte VOICE , 19
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte PAN , c_v-1
|
|
.byte BEND , c_v-33
|
|
.byte N03 , Fn5 , v092
|
|
.byte W01
|
|
.byte VOL , 72*se_m_reversal_mvl/mxv
|
|
.byte W01
|
|
.byte 40*se_m_reversal_mvl/mxv
|
|
.byte BEND , c_v+31
|
|
.byte W01
|
|
.byte VOICE , 22
|
|
.byte PAN , c_v+18
|
|
.byte BEND , c_v+0
|
|
.byte N01 , Cn5 , v127
|
|
.byte W01
|
|
.byte VOICE , 19
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v-33
|
|
.byte N03 , Fs5 , v092
|
|
.byte W02
|
|
.byte VOL , 72*se_m_reversal_mvl/mxv
|
|
.byte W01
|
|
.byte 40*se_m_reversal_mvl/mxv
|
|
.byte BEND , c_v+31
|
|
.byte W01
|
|
.byte VOICE , 22
|
|
.byte PAN , c_v-14
|
|
.byte BEND , c_v+0
|
|
.byte N01 , Cs5 , v127
|
|
.byte W01
|
|
.byte VOICE , 19
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte PAN , c_v-1
|
|
.byte BEND , c_v-33
|
|
.byte N03 , Gn5 , v092
|
|
.byte W01
|
|
.byte VOL , 72*se_m_reversal_mvl/mxv
|
|
.byte W02
|
|
.byte 40*se_m_reversal_mvl/mxv
|
|
.byte BEND , c_v+31
|
|
.byte W01
|
|
.byte VOICE , 22
|
|
.byte PAN , c_v+14
|
|
.byte BEND , c_v+0
|
|
.byte N01 , Dn5 , v127
|
|
.byte W01
|
|
.byte VOICE , 19
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v-33
|
|
.byte N03 , Gs5 , v092
|
|
.byte W01
|
|
.byte VOL , 72*se_m_reversal_mvl/mxv
|
|
.byte W01
|
|
.byte 40*se_m_reversal_mvl/mxv
|
|
.byte BEND , c_v+31
|
|
.byte W02
|
|
.byte VOICE , 22
|
|
.byte PAN , c_v-10
|
|
.byte BEND , c_v+0
|
|
.byte N01 , Ds5 , v127
|
|
.byte W01
|
|
.byte VOICE , 19
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte PAN , c_v-1
|
|
.byte BEND , c_v-33
|
|
.byte N03 , An5 , v092
|
|
.byte W01
|
|
.byte VOL , 72*se_m_reversal_mvl/mxv
|
|
.byte W01
|
|
.byte 40*se_m_reversal_mvl/mxv
|
|
.byte BEND , c_v+31
|
|
.byte W01
|
|
.byte VOICE , 22
|
|
.byte PAN , c_v+10
|
|
.byte BEND , c_v+0
|
|
.byte N01 , En5 , v127
|
|
.byte W02
|
|
.byte VOICE , 19
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v-33
|
|
.byte N03 , As5 , v092
|
|
.byte W01
|
|
.byte VOL , 72*se_m_reversal_mvl/mxv
|
|
.byte W01
|
|
.byte 40*se_m_reversal_mvl/mxv
|
|
.byte BEND , c_v+31
|
|
.byte W01
|
|
.byte VOICE , 22
|
|
.byte PAN , c_v-10
|
|
.byte BEND , c_v+0
|
|
.byte N01 , Fn5 , v127
|
|
.byte W01
|
|
.byte VOICE , 19
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte PAN , c_v-1
|
|
.byte BEND , c_v-33
|
|
.byte N03 , Bn5 , v092
|
|
.byte W02
|
|
.byte VOL , 72*se_m_reversal_mvl/mxv
|
|
.byte W01
|
|
.byte 40*se_m_reversal_mvl/mxv
|
|
.byte BEND , c_v+31
|
|
.byte W01
|
|
.byte VOICE , 22
|
|
.byte PAN , c_v+10
|
|
.byte BEND , c_v+0
|
|
.byte N01 , Fs5 , v127
|
|
.byte W01
|
|
.byte BEND , c_v-33
|
|
.byte W03
|
|
.byte W06
|
|
.byte FINE
|
|
|
|
@********************** Track 2 **********************@
|
|
|
|
se_m_reversal_2:
|
|
.byte KEYSH , se_m_reversal_key+0
|
|
.byte VOICE , 17
|
|
.byte VOL , 100*se_m_reversal_mvl/mxv
|
|
.byte W02
|
|
.byte BEND , c_v+31
|
|
.byte N03 , Cn5 , v040
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v-33
|
|
.byte W02
|
|
.byte W01
|
|
.byte c_v+31
|
|
.byte N03 , Cs5
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v-33
|
|
.byte W03
|
|
.byte c_v+31
|
|
.byte N03 , Dn5
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v-33
|
|
.byte W02
|
|
.byte c_v+31
|
|
.byte N03 , Ds5
|
|
.byte W02
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v-33
|
|
.byte W02
|
|
.byte c_v+31
|
|
.byte N03 , En5
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W02
|
|
.byte c_v-33
|
|
.byte W02
|
|
.byte c_v+31
|
|
.byte N03 , Fn5
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v-33
|
|
.byte W02
|
|
.byte W01
|
|
.byte c_v+31
|
|
.byte N03 , Fs5
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v-33
|
|
.byte W03
|
|
.byte c_v+31
|
|
.byte N03 , Gn5
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v-33
|
|
.byte W02
|
|
.byte c_v+31
|
|
.byte N03 , Gs5
|
|
.byte W02
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v-33
|
|
.byte W02
|
|
.byte c_v+31
|
|
.byte N03 , An5
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W02
|
|
.byte c_v-33
|
|
.byte W02
|
|
.byte c_v+31
|
|
.byte N03 , As5
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v-33
|
|
.byte W02
|
|
.byte W01
|
|
.byte c_v+31
|
|
.byte N03 , Bn5
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v-33
|
|
.byte W03
|
|
.byte c_v+31
|
|
.byte N03 , Bn5 , v020
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v-33
|
|
.byte W04
|
|
.byte FINE
|
|
|
|
@******************************************************@
|
|
.align 2
|
|
|
|
se_m_reversal:
|
|
.byte 2 @ NumTrks
|
|
.byte 0 @ NumBlks
|
|
.byte se_m_reversal_pri @ Priority
|
|
.byte se_m_reversal_rev @ Reverb.
|
|
|
|
.word se_m_reversal_grp
|
|
|
|
.word se_m_reversal_1
|
|
.word se_m_reversal_2
|
|
|
|
.end
|