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.
85 lines
1.6 KiB
ArmAsm
85 lines
1.6 KiB
ArmAsm
.include "MPlayDef.s"
|
|
|
|
.equ se_m_hyper_beam_grp, voicegroup128
|
|
.equ se_m_hyper_beam_pri, 4
|
|
.equ se_m_hyper_beam_rev, reverb_set+50
|
|
.equ se_m_hyper_beam_mvl, 127
|
|
.equ se_m_hyper_beam_key, 0
|
|
.equ se_m_hyper_beam_tbs, 1
|
|
.equ se_m_hyper_beam_exg, 0
|
|
.equ se_m_hyper_beam_cmp, 1
|
|
|
|
.section .rodata
|
|
.global se_m_hyper_beam
|
|
.align 2
|
|
|
|
@********************** Track 1 **********************@
|
|
|
|
se_m_hyper_beam_1:
|
|
.byte KEYSH , se_m_hyper_beam_key+0
|
|
.byte TEMPO , 150*se_m_hyper_beam_tbs/2
|
|
.byte VOICE , 18
|
|
.byte VOL , 110*se_m_hyper_beam_mvl/mxv
|
|
.byte BENDR , 12
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+0
|
|
.byte N02 , En3 , v127
|
|
.byte W03
|
|
.byte N01 , As3
|
|
.byte W03
|
|
.byte N02 , Gn3
|
|
.byte W03
|
|
.byte N01 , Cs4
|
|
.byte W03
|
|
.byte PAN , c_v+7
|
|
.byte N02 , En3 , v072
|
|
.byte W03
|
|
.byte N01 , As3
|
|
.byte W03
|
|
.byte PAN , c_v-7
|
|
.byte N02 , Gn3 , v040
|
|
.byte W03
|
|
.byte N01 , Cs4
|
|
.byte W03
|
|
.byte FINE
|
|
|
|
@********************** Track 2 **********************@
|
|
|
|
se_m_hyper_beam_2:
|
|
.byte KEYSH , se_m_hyper_beam_key+0
|
|
.byte VOICE , 5
|
|
.byte VOL , 110*se_m_hyper_beam_mvl/mxv
|
|
.byte N01 , Cn3 , v040
|
|
.byte W02
|
|
.byte N01
|
|
.byte W04
|
|
.byte N01
|
|
.byte W02
|
|
.byte N01
|
|
.byte W04
|
|
se_m_hyper_beam_2_000:
|
|
.byte N01 , Cn3 , v020
|
|
.byte W02
|
|
.byte N01
|
|
.byte W04
|
|
.byte PEND
|
|
.byte PATT
|
|
.word se_m_hyper_beam_2_000
|
|
.byte FINE
|
|
|
|
@******************************************************@
|
|
.align 2
|
|
|
|
se_m_hyper_beam:
|
|
.byte 2 @ NumTrks
|
|
.byte 0 @ NumBlks
|
|
.byte se_m_hyper_beam_pri @ Priority
|
|
.byte se_m_hyper_beam_rev @ Reverb.
|
|
|
|
.word se_m_hyper_beam_grp
|
|
|
|
.word se_m_hyper_beam_1
|
|
.word se_m_hyper_beam_2
|
|
|
|
.end
|