forked from pret/pokefirered
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathse_m_detect.s
95 lines (86 loc) · 1.73 KB
/
se_m_detect.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
.include "MPlayDef.s"
.equ se_m_detect_grp, voicegroup128
.equ se_m_detect_pri, 4
.equ se_m_detect_rev, reverb_set+50
.equ se_m_detect_mvl, 127
.equ se_m_detect_key, 0
.equ se_m_detect_tbs, 1
.equ se_m_detect_exg, 0
.equ se_m_detect_cmp, 1
.section .rodata
.global se_m_detect
.align 2
@********************** Track 1 **********************@
se_m_detect_1:
.byte KEYSH , se_m_detect_key+0
.byte TEMPO , 220*se_m_detect_tbs/2
.byte VOICE , 54
.byte VOL , 100*se_m_detect_mvl/mxv
.byte BENDR , 12
.byte PAN , c_v+0
.byte BEND , c_v+1
.byte N03 , As5 , v127
.byte W01
.byte PAN , c_v+2
.byte BEND , c_v+2
.byte W01
.byte c_v+4
.byte W01
.byte c_v+1
.byte N06 , Bn5
.byte W01
.byte PAN , c_v+0
.byte W02
.byte W03
.byte BEND , c_v+1
.byte N03 , As5 , v104
.byte W01
.byte PAN , c_v-2
.byte BEND , c_v+2
.byte W02
.byte c_v+4
.byte W01
.byte c_v+1
.byte N06 , Bn5
.byte W01
.byte PAN , c_v+0
.byte W04
.byte W01
.byte BEND , c_v+1
.byte N03 , As5 , v080
.byte W01
.byte PAN , c_v+4
.byte BEND , c_v+2
.byte W01
.byte c_v+4
.byte W01
.byte c_v+1
.byte N06 , Bn5
.byte W02
.byte PAN , c_v+0
.byte W04
.byte BEND , c_v+1
.byte N03 , As5 , v048
.byte W02
.byte PAN , c_v-5
.byte BEND , c_v+2
.byte W01
.byte c_v+4
.byte W01
.byte c_v+1
.byte N06 , Bn5
.byte W01
.byte PAN , c_v+0
.byte W03
.byte W06
.byte FINE
@******************************************************@
.align 2
se_m_detect:
.byte 1 @ NumTrks
.byte 0 @ NumBlks
.byte se_m_detect_pri @ Priority
.byte se_m_detect_rev @ Reverb.
.word se_m_detect_grp
.word se_m_detect_1
.end