summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2020-02-05 17:59:01 -0600
committerGitHub <noreply@github.com>2020-02-05 17:59:01 -0600
commit5048f24816e95fc38a708b967648deb86c62a689 (patch)
treec6b15116aefe09c91c3047d506fc7bbf677f8001 /engine/battle/core.asm
parent6348ed24fedcae15cd4629bdcddea542d6c44712 (diff)
parent362bba7642431d87371cb86c9442e7636fcd287b (diff)
Merge pull request #223 from pret/audio-macros
Audio macros
Diffstat (limited to 'engine/battle/core.asm')
-rwxr-xr-xengine/battle/core.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 04336810..2b00a812 100755
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -872,7 +872,7 @@ FaintEnemyPokemon:
ld a, SFX_FAINT_FALL
call PlaySoundWaitForCurrent
.sfxwait
- ld a, [wChannelSoundIDs + Ch4]
+ ld a, [wChannelSoundIDs + Ch5]
cp SFX_FAINT_FALL
jr z, .sfxwait
ld a, SFX_FAINT_THUD
@@ -956,7 +956,7 @@ EndLowHealthAlarm:
; the low health alarm and prevents it from reactivating until the next battle.
xor a
ld [wLowHealthAlarm], a ; turn off low health alarm
- ld [wChannelSoundIDs + Ch4], a
+ ld [wChannelSoundIDs + Ch5], a
inc a
ld [wLowHealthAlarmDisabled], a ; prevent it from reactivating
ret
@@ -1954,7 +1954,7 @@ DrawPlayerHUDAndHPBar:
ld [hl], $0
ret z
xor a
- ld [wChannelSoundIDs + Ch4], a
+ ld [wChannelSoundIDs + Ch5], a
ret
.setLowHealthAlarm
ld hl, wLowHealthAlarm