summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/cries.asm8
-rw-r--r--audio/engine.asm9
-rw-r--r--audio/music/magnettrain.asm2
-rw-r--r--audio/sfx.asm14
-rw-r--r--audio/sfx_pointers.asm2
5 files changed, 18 insertions, 17 deletions
diff --git a/audio/cries.asm b/audio/cries.asm
index 352ce321..cf2ead18 100644
--- a/audio/cries.asm
+++ b/audio/cries.asm
@@ -464,7 +464,7 @@ Cry_Sentret_Ch6:
square_note 8, 15, 1, 1824
sound_ret
-Cry_Sentret_Ch8:
+Cry_Sentret_Ch8: ; unreferenced
noise_note 8, 3, -3, 0
noise_note 8, 9, 2, 0
sound_ret
@@ -1082,7 +1082,7 @@ Cry_Weepinbell:
channel 6, Cry_Weepinbell_Ch6
channel 8, Cry_Weepinbell_Ch8
-Cry_Unused_Ch5:
+Cry_Unused_Ch5: ; unreferenced
duty_cycle_pattern 3, 3, 0, 0
square_note 15, 14, 0, 1920
square_note 15, 15, 0, 1924
@@ -1092,7 +1092,7 @@ Cry_Unused_Ch5:
square_note 8, 7, 1, 1924
sound_ret
-Cry_Unused_Ch6:
+Cry_Unused_Ch6: ; unreferenced
duty_cycle_pattern 0, 0, 1, 1
square_note 15, 10, 0, 1857
square_note 15, 11, 0, 1859
@@ -1102,7 +1102,7 @@ Cry_Unused_Ch6:
square_note 8, 3, 1, 1862
sound_ret
-Cry_Unused_Ch8:
+Cry_Unused_Ch8: ; unreferenced
noise_note 2, 15, 2, 76
noise_note 6, 14, 0, 58
noise_note 15, 13, 0, 58
diff --git a/audio/engine.asm b/audio/engine.asm
index ea3e467e..bcd14ab8 100644
--- a/audio/engine.asm
+++ b/audio/engine.asm
@@ -38,15 +38,16 @@ _InitSound::
dec e
jr nz, .clearsound
- ld hl, wChannels ; start of channel data
- ld de, wChannelsEnd - wChannels ; length of area to clear (entire sound wram area)
-.clearchannels
+ ld hl, wAudio
+ ld de, wAudioEnd - wAudio
+.clearaudio
xor a
ld [hli], a
dec de
ld a, e
or d
- jr nz, .clearchannels
+ jr nz, .clearaudio
+
ld a, MAX_VOLUME
ld [wVolume], a
call MusicOn
diff --git a/audio/music/magnettrain.asm b/audio/music/magnettrain.asm
index f0c49d59..428acc4b 100644
--- a/audio/music/magnettrain.asm
+++ b/audio/music/magnettrain.asm
@@ -246,7 +246,7 @@ Music_MagnetTrain_Ch4:
drum_note 12, 16
sound_ret
-.sub1: ; unused
+.sub1: ; unreferenced
drum_note 9, 1
drum_note 8, 1
drum_note 8, 1
diff --git a/audio/sfx.asm b/audio/sfx.asm
index 166c726e..0669fa65 100644
--- a/audio/sfx.asm
+++ b/audio/sfx.asm
@@ -21,7 +21,7 @@ Sfx_Menu:
Sfx_ReadText:
Sfx_ReadText2:
channel_count 1
- channel 5, Sfx_ReadText2_Ch5
+ channel 5, Sfx_ReadText_Ch5 ; aka Sfx_ReadText2_Ch5
Sfx_Poison:
channel_count 1
@@ -466,7 +466,7 @@ Sfx_Unknown5F:
channel 5, Sfx_Unknown5F_Ch5
channel 6, Sfx_Unknown5F_Ch6
Sfx_Sandstorm:
- channel 8, Sfx_Sandstorm_Ch8
+ channel 8, Sfx_Sandstorm_Ch8 ; aka Sfx_Unknown5F_Ch8
Sfx_HangUp:
channel_count 1
@@ -486,10 +486,10 @@ Sfx_Elevator:
Sfx_LevelUp:
Sfx_DexFanfare5079:
channel_count 4
- channel 5, Sfx_LevelUp_Ch5
- channel 6, Sfx_LevelUp_Ch6
- channel 7, Sfx_LevelUp_Ch7
- channel 8, Sfx_LevelUp_Ch8
+ channel 5, Sfx_LevelUp_Ch5 ; aka Sfx_DexFanfare5079_Ch5
+ channel 6, Sfx_LevelUp_Ch6 ; aka Sfx_DexFanfare5079_Ch6
+ channel 7, Sfx_LevelUp_Ch7 ; aka Sfx_DexFanfare5079_Ch7
+ channel 8, Sfx_LevelUp_Ch8 ; aka Sfx_DexFanfare5079_Ch8
Sfx_LevelUp_Ch5:
Sfx_DexFanfare5079_Ch5:
@@ -942,7 +942,7 @@ Sfx_Fanfare2:
channel 6, Sfx_Fanfare2_Ch6
channel 8, Sfx_Fanfare2_Ch8
-Sfx_Unused:
+Sfx_Unused: ; unreferenced
channel_count 4
channel 5, Sfx_Unused_Ch5
channel 6, Sfx_Unused_Ch6
diff --git a/audio/sfx_pointers.asm b/audio/sfx_pointers.asm
index 8c3420e5..35225607 100644
--- a/audio/sfx_pointers.asm
+++ b/audio/sfx_pointers.asm
@@ -144,7 +144,7 @@ SFX:
dba Sfx_MilkDrink
dba Sfx_Present
dba Sfx_MorningSun
- dba Sfx_LevelUp
+ dba Sfx_LevelUp ; aka Sfx_DexFanfare5079
dba Sfx_KeyItem
dba Sfx_Fanfare2
dba Sfx_RegisterPhoneNumber