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.
118 lines
2.2 KiB
ArmAsm
118 lines
2.2 KiB
ArmAsm
.include "MPlayDef.s"
|
|
|
|
.equ se_m_confuse_ray_grp, voicegroup128
|
|
.equ se_m_confuse_ray_pri, 4
|
|
.equ se_m_confuse_ray_rev, reverb_set+50
|
|
.equ se_m_confuse_ray_mvl, 127
|
|
.equ se_m_confuse_ray_key, 0
|
|
.equ se_m_confuse_ray_tbs, 1
|
|
.equ se_m_confuse_ray_exg, 0
|
|
.equ se_m_confuse_ray_cmp, 1
|
|
|
|
.section .rodata
|
|
.global se_m_confuse_ray
|
|
.align 2
|
|
|
|
@********************** Track 1 **********************@
|
|
|
|
se_m_confuse_ray_1:
|
|
.byte KEYSH , se_m_confuse_ray_key+0
|
|
.byte TEMPO , 220*se_m_confuse_ray_tbs/2
|
|
.byte VOICE , 52
|
|
.byte VOL , 127*se_m_confuse_ray_mvl/mxv
|
|
.byte BENDR , 12
|
|
.byte PAN , c_v+0
|
|
.byte BEND , c_v+0
|
|
.byte N03 , As3 , v120
|
|
.byte W01
|
|
.byte BEND , c_v-8
|
|
.byte W01
|
|
.byte c_v-16
|
|
.byte W01
|
|
.byte c_v-1
|
|
.byte N12 , As2 , v127
|
|
.byte W03
|
|
.byte PAN , c_v+4
|
|
.byte BEND , c_v+8
|
|
.byte W02
|
|
.byte PAN , c_v-4
|
|
.byte BEND , c_v+11
|
|
.byte W01
|
|
.byte c_v+18
|
|
.byte W01
|
|
.byte PAN , c_v+10
|
|
.byte BEND , c_v+28
|
|
.byte W02
|
|
.byte c_v+35
|
|
.byte W01
|
|
.byte PAN , c_v-10
|
|
.byte W02
|
|
.byte c_v+0
|
|
.byte BEND , c_v+0
|
|
.byte N03 , As3 , v108
|
|
.byte W01
|
|
.byte BEND , c_v-8
|
|
.byte W02
|
|
.byte c_v-17
|
|
.byte W01
|
|
.byte c_v-1
|
|
.byte N12 , As2
|
|
.byte W02
|
|
.byte PAN , c_v+4
|
|
.byte BEND , c_v+8
|
|
.byte W03
|
|
.byte PAN , c_v-4
|
|
.byte BEND , c_v+11
|
|
.byte W01
|
|
.byte c_v+18
|
|
.byte W01
|
|
.byte PAN , c_v+10
|
|
.byte BEND , c_v+28
|
|
.byte W01
|
|
.byte c_v+35
|
|
.byte W01
|
|
.byte PAN , c_v-10
|
|
.byte W03
|
|
.byte c_v+0
|
|
.byte BEND , c_v+0
|
|
.byte N03 , As3 , v072
|
|
.byte W01
|
|
.byte BEND , c_v-8
|
|
.byte W01
|
|
.byte c_v-16
|
|
.byte W01
|
|
.byte c_v-1
|
|
.byte N12 , As2
|
|
.byte W03
|
|
.byte PAN , c_v+4
|
|
.byte BEND , c_v+8
|
|
.byte W02
|
|
.byte PAN , c_v-4
|
|
.byte BEND , c_v+11
|
|
.byte W01
|
|
.byte c_v+18
|
|
.byte W02
|
|
.byte PAN , c_v+10
|
|
.byte BEND , c_v+28
|
|
.byte W01
|
|
.byte c_v+35
|
|
.byte W01
|
|
.byte PAN , c_v-10
|
|
.byte W04
|
|
.byte FINE
|
|
|
|
@******************************************************@
|
|
.align 2
|
|
|
|
se_m_confuse_ray:
|
|
.byte 1 @ NumTrks
|
|
.byte 0 @ NumBlks
|
|
.byte se_m_confuse_ray_pri @ Priority
|
|
.byte se_m_confuse_ray_rev @ Reverb.
|
|
|
|
.word se_m_confuse_ray_grp
|
|
|
|
.word se_m_confuse_ray_1
|
|
|
|
.end
|