aboutsummaryrefslogtreecommitdiffstats
path: root/audio/wave_samples.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2022-08-11 21:23:08 -0400
committerGitHub <noreply@github.com>2022-08-11 21:23:08 -0400
commitbbb0e7e82deb6741f75a12b48f81076d92f5d9dc (patch)
tree068961260e172327acb8cc0eff0d6681ac64ebf2 /audio/wave_samples.asm
parentUpdate comments related to Swift and Substitute checks (#380) (diff)
downloadpokeyellow-bbb0e7e82deb6741f75a12b48f81076d92f5d9dc.tar.gz
pokeyellow-bbb0e7e82deb6741f75a12b48f81076d92f5d9dc.tar.xz
pokeyellow-bbb0e7e82deb6741f75a12b48f81076d92f5d9dc.zip
Use the same music headers as pokecrystal (#382)
Diffstat (limited to 'audio/wave_samples.asm')
-rw-r--r--audio/wave_samples.asm33
1 files changed, 33 insertions, 0 deletions
diff --git a/audio/wave_samples.asm b/audio/wave_samples.asm
new file mode 100644
index 00000000..15376004
--- /dev/null
+++ b/audio/wave_samples.asm
@@ -0,0 +1,33 @@
+; This file is INCLUDEd three times, once for each audio engine.
+
+ dw .wave0
+ dw .wave1
+ dw .wave2
+ dw .wave3
+ dw .wave4
+ dw .wave5 ; used in the Lavender Town and Pokemon Tower themes
+ dw .wave5 ; unused
+ dw .wave5 ; unused
+ dw .wave5 ; unused
+
+; these are the definitions for the channel 3 instruments
+; each instrument definition is made up of 32 points (nibbles) that form
+; the graph of the wave
+; the current instrument is copied to rWave_0--rWave_f
+.wave0
+ dn 0, 2, 4, 6, 8, 10, 12, 14, 15, 15, 15, 14, 14, 13, 13, 12, 12, 11, 10, 9, 8, 7, 6, 5, 4, 4, 3, 3, 2, 2, 1, 1
+
+.wave1
+ dn 0, 2, 4, 6, 8, 10, 12, 14, 14, 15, 15, 15, 15, 14, 14, 14, 13, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 2, 1, 1
+
+.wave2
+ dn 1, 3, 6, 9, 11, 13, 14, 14, 14, 14, 15, 15, 15, 15, 14, 13, 13, 14, 15, 15, 15, 15, 14, 14, 14, 14, 13, 11, 9, 6, 3, 1
+
+.wave3
+ dn 0, 2, 4, 6, 8, 10, 12, 13, 14, 15, 15, 14, 13, 14, 15, 15, 14, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
+
+.wave4
+ dn 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 13, 14, 14, 15, 7, 7, 15, 14, 14, 13, 12, 10, 8, 7, 6, 5, 4, 3, 2, 1, 0
+
+; duty 5 reads from sfx data
+.wave5