summaryrefslogtreecommitdiff
path: root/audio/engine.asm
diff options
context:
space:
mode:
Diffstat (limited to 'audio/engine.asm')
-rw-r--r--audio/engine.asm10
1 files changed, 4 insertions, 6 deletions
diff --git a/audio/engine.asm b/audio/engine.asm
index 499adcadb..734d45f15 100644
--- a/audio/engine.asm
+++ b/audio/engine.asm
@@ -5,7 +5,6 @@
; Notable functions:
; FadeMusic
; PlayStereoSFX
-; PlayCry
_SoundRestart:: ; e8000
; restart sound operation
@@ -828,7 +827,7 @@ Functione8466: ; e8466
add hl, bc
bit 4, [hl]
jr z, .vibrato
- ld hl, $0027
+ ld hl, Channel1CryPitch - Channel1
add hl, bc
ld e, [hl]
inc hl
@@ -1758,7 +1757,7 @@ MusicE6: ; e88e4
ld hl, Channel1Flags2 - Channel1
add hl, bc
set 4, [hl]
- ld hl, $0028
+ ld hl, Channel1CryPitch + 1 - Channel1
add hl, bc
call GetMusicByte
ld [hld], a
@@ -2364,10 +2363,9 @@ _PlayMusic:: ; e8b30
ret
; e8b79
-PlayCry:: ; e8b79
+_PlayCryHeader:: ; e8b79
; Play cry de using parameters:
; CryPitch
-; CryEcho
; CryLength
call MusicOff
@@ -2416,7 +2414,7 @@ PlayCry:: ; e8b79
add hl, bc
ld a, [CryPitch]
ld [hli], a
- ld a, [CryEcho]
+ ld a, [CryPitch + 1]
ld [hl], a
; No tempo for channel 4