mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-29 13:50:42 +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.
284 lines
5.0 KiB
ArmAsm
284 lines
5.0 KiB
ArmAsm
.include "MPlayDef.s"
|
|
|
|
.equ se_m_stat_increase_grp, voicegroup128
|
|
.equ se_m_stat_increase_pri, 4
|
|
.equ se_m_stat_increase_rev, reverb_set+50
|
|
.equ se_m_stat_increase_mvl, 127
|
|
.equ se_m_stat_increase_key, 0
|
|
.equ se_m_stat_increase_tbs, 1
|
|
.equ se_m_stat_increase_exg, 0
|
|
.equ se_m_stat_increase_cmp, 1
|
|
|
|
.section .rodata
|
|
.global se_m_stat_increase
|
|
.align 2
|
|
|
|
@********************** Track 1 **********************@
|
|
|
|
se_m_stat_increase_1:
|
|
.byte KEYSH , se_m_stat_increase_key+0
|
|
.byte TEMPO , 170*se_m_stat_increase_tbs/2
|
|
.byte VOICE , 67
|
|
.byte VOL , 70*se_m_stat_increase_mvl/mxv
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+0
|
|
.byte N02 , An5 , v076
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v+2
|
|
.byte W01
|
|
.byte PAN , c_v+6
|
|
.byte BEND , c_v+5
|
|
.byte N02 , An4
|
|
.byte W01
|
|
.byte BEND , c_v+8
|
|
.byte W02
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+12
|
|
.byte N02 , Dn5
|
|
.byte W01
|
|
.byte BEND , c_v+16
|
|
.byte W01
|
|
.byte c_v+23
|
|
.byte W01
|
|
.byte PAN , c_v-6
|
|
.byte BEND , c_v+32
|
|
.byte N02 , Dn4
|
|
.byte W01
|
|
.byte BEND , c_v+42
|
|
.byte W02
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+0
|
|
.byte N02 , As5
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v+2
|
|
.byte W01
|
|
.byte PAN , c_v+6
|
|
.byte BEND , c_v+5
|
|
.byte N02 , As4
|
|
.byte W01
|
|
.byte BEND , c_v+8
|
|
.byte W02
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+12
|
|
.byte N02 , Ds5
|
|
.byte W01
|
|
.byte BEND , c_v+16
|
|
.byte W01
|
|
.byte c_v+23
|
|
.byte W01
|
|
.byte PAN , c_v-6
|
|
.byte BEND , c_v+32
|
|
.byte N02 , Ds4
|
|
.byte W01
|
|
.byte BEND , c_v+42
|
|
.byte W02
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+0
|
|
.byte N02 , Bn5
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v+2
|
|
.byte W01
|
|
.byte PAN , c_v+6
|
|
.byte BEND , c_v+5
|
|
.byte N02 , Bn4
|
|
.byte W01
|
|
.byte BEND , c_v+8
|
|
.byte W02
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+12
|
|
.byte N02 , En5
|
|
.byte W01
|
|
.byte BEND , c_v+16
|
|
.byte W01
|
|
.byte c_v+23
|
|
.byte W01
|
|
.byte PAN , c_v-6
|
|
.byte BEND , c_v+32
|
|
.byte N02 , En4
|
|
.byte W01
|
|
.byte BEND , c_v+42
|
|
.byte W02
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+0
|
|
.byte N02 , Cn6
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v+2
|
|
.byte W01
|
|
.byte PAN , c_v+6
|
|
.byte BEND , c_v+5
|
|
.byte N02 , Cn5
|
|
.byte W01
|
|
.byte BEND , c_v+8
|
|
.byte W02
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+12
|
|
.byte N02 , Fn5
|
|
.byte W01
|
|
.byte BEND , c_v+16
|
|
.byte W01
|
|
.byte c_v+23
|
|
.byte W01
|
|
.byte PAN , c_v-6
|
|
.byte BEND , c_v+32
|
|
.byte N02 , Fn4
|
|
.byte W01
|
|
.byte BEND , c_v+42
|
|
.byte W02
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+0
|
|
.byte N02 , Cs6
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v+2
|
|
.byte W01
|
|
.byte PAN , c_v+6
|
|
.byte BEND , c_v+5
|
|
.byte N02 , Cs5
|
|
.byte W01
|
|
.byte BEND , c_v+8
|
|
.byte W02
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+12
|
|
.byte N02 , Fn5 , v056
|
|
.byte W01
|
|
.byte BEND , c_v+16
|
|
.byte W01
|
|
.byte c_v+23
|
|
.byte W01
|
|
.byte PAN , c_v-12
|
|
.byte BEND , c_v+32
|
|
.byte N02 , Fn4
|
|
.byte W01
|
|
.byte BEND , c_v+42
|
|
.byte W02
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+0
|
|
.byte N02 , Cs6
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v+2
|
|
.byte W01
|
|
.byte PAN , c_v+12
|
|
.byte BEND , c_v+5
|
|
.byte N02 , Cs5
|
|
.byte W01
|
|
.byte BEND , c_v+8
|
|
.byte W02
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+12
|
|
.byte N02 , Fn5 , v032
|
|
.byte W01
|
|
.byte BEND , c_v+16
|
|
.byte W01
|
|
.byte c_v+23
|
|
.byte W01
|
|
.byte PAN , c_v-16
|
|
.byte BEND , c_v+32
|
|
.byte N02 , Fn4
|
|
.byte W01
|
|
.byte BEND , c_v+42
|
|
.byte W02
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+0
|
|
.byte N02 , Cs6
|
|
.byte W01
|
|
.byte BEND , c_v+0
|
|
.byte W01
|
|
.byte c_v+2
|
|
.byte W01
|
|
.byte PAN , c_v+16
|
|
.byte BEND , c_v+5
|
|
.byte N02 , Cs5
|
|
.byte W01
|
|
.byte BEND , c_v+8
|
|
.byte W02
|
|
.byte FINE
|
|
|
|
@********************** Track 2 **********************@
|
|
|
|
se_m_stat_increase_2:
|
|
.byte KEYSH , se_m_stat_increase_key+0
|
|
.byte VOICE , 55
|
|
.byte XCMD , xIECV , 10
|
|
.byte xIECL , 8
|
|
.byte VOL , 70*se_m_stat_increase_mvl/mxv
|
|
.byte N02 , Cn3 , v052
|
|
.byte W03
|
|
.byte N02
|
|
.byte W03
|
|
.byte W01
|
|
.byte Cs3
|
|
.byte W03
|
|
.byte N02
|
|
.byte W02
|
|
.byte W02
|
|
.byte Dn3
|
|
.byte W04
|
|
.byte N02
|
|
.byte W03
|
|
.byte Ds3
|
|
.byte W03
|
|
.byte W01
|
|
.byte N02
|
|
.byte W03
|
|
.byte En3
|
|
.byte W02
|
|
.byte W02
|
|
.byte N02
|
|
.byte W04
|
|
.byte Fn3
|
|
.byte W03
|
|
.byte N02
|
|
.byte W03
|
|
.byte W01
|
|
.byte Fs3
|
|
.byte W03
|
|
.byte N02
|
|
.byte W02
|
|
.byte W02
|
|
.byte Gn3
|
|
.byte W04
|
|
.byte Gn3 , v032
|
|
.byte W03
|
|
.byte Gs3
|
|
.byte W03
|
|
.byte W01
|
|
.byte N02
|
|
.byte W03
|
|
.byte An3 , v020
|
|
.byte W02
|
|
.byte W02
|
|
.byte N02
|
|
.byte W04
|
|
.byte As3 , v012
|
|
.byte W03
|
|
.byte N02
|
|
.byte W03
|
|
.byte FINE
|
|
|
|
@******************************************************@
|
|
.align 2
|
|
|
|
se_m_stat_increase:
|
|
.byte 2 @ NumTrks
|
|
.byte 0 @ NumBlks
|
|
.byte se_m_stat_increase_pri @ Priority
|
|
.byte se_m_stat_increase_rev @ Reverb.
|
|
|
|
.word se_m_stat_increase_grp
|
|
|
|
.word se_m_stat_increase_1
|
|
.word se_m_stat_increase_2
|
|
|
|
.end
|