aboutsummaryrefslogtreecommitdiffstats
path: root/home
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 /home
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 'home')
-rw-r--r--home/audio.asm8
-rw-r--r--home/delay.asm2
-rw-r--r--home/overworld.asm4
3 files changed, 7 insertions, 7 deletions
diff --git a/home/audio.asm b/home/audio.asm
index eded85e9..1da6453c 100644
--- a/home/audio.asm
+++ b/home/audio.asm
@@ -146,10 +146,10 @@ PlaySound::
and a
jr z, .next
xor a
- ld [wChannelSoundIDs + Ch5], a
- ld [wChannelSoundIDs + Ch6], a
- ld [wChannelSoundIDs + Ch7], a
- ld [wChannelSoundIDs + Ch8], a
+ ld [wChannelSoundIDs + CHAN5], a
+ ld [wChannelSoundIDs + CHAN6], a
+ ld [wChannelSoundIDs + CHAN7], a
+ ld [wChannelSoundIDs + CHAN8], a
.next
ld a, [wAudioFadeOutControl]
and a ; has a fade-out length been specified?
diff --git a/home/delay.asm b/home/delay.asm
index 850b23e9..3d1ea44d 100644
--- a/home/delay.asm
+++ b/home/delay.asm
@@ -18,7 +18,7 @@ WaitForSoundToFinish::
ret nz
push hl
.waitLoop
- ld hl, wChannelSoundIDs + Ch5
+ ld hl, wChannelSoundIDs + CHAN5
xor a
or [hl]
inc hl
diff --git a/home/overworld.asm b/home/overworld.asm
index 74c97cb7..a4e547bf 100644
--- a/home/overworld.asm
+++ b/home/overworld.asm
@@ -1244,7 +1244,7 @@ CollisionCheckOnLand::
call CheckTilePassable
jr nc, .noCollision
.collision
- ld a, [wChannelSoundIDs + Ch5]
+ ld a, [wChannelSoundIDs + CHAN5]
cp SFX_COLLISION ; check if collision sound is already playing
jr z, .setCarry
ld a, SFX_COLLISION
@@ -1925,7 +1925,7 @@ CollisionCheckOnWater::
jr z, .stopSurfing ; stop surfing if the tile is passable
jr .loop
.collision
- ld a, [wChannelSoundIDs + Ch5]
+ ld a, [wChannelSoundIDs + CHAN5]
cp SFX_COLLISION ; check if collision sound is already playing
jr z, .setCarry
ld a, SFX_COLLISION