diff options
| author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2022-08-11 21:23:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-11 21:23:08 -0400 |
| commit | bbb0e7e82deb6741f75a12b48f81076d92f5d9dc (patch) | |
| tree | 068961260e172327acb8cc0eff0d6681ac64ebf2 /engine/items/item_effects.asm | |
| parent | Update comments related to Swift and Substitute checks (#380) (diff) | |
| download | pokeyellow-bbb0e7e82deb6741f75a12b48f81076d92f5d9dc.tar.gz pokeyellow-bbb0e7e82deb6741f75a12b48f81076d92f5d9dc.tar.xz pokeyellow-bbb0e7e82deb6741f75a12b48f81076d92f5d9dc.zip | |
Use the same music headers as pokecrystal (#382)
Diffstat (limited to 'engine/items/item_effects.asm')
| -rw-r--r-- | engine/items/item_effects.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm index 913b8636..a89031b4 100644 --- a/engine/items/item_effects.asm +++ b/engine/items/item_effects.asm @@ -991,7 +991,7 @@ ItemUseMedicine: .notFullHP ; if the pokemon's current HP doesn't equal its max HP xor a ld [wLowHealthAlarm], a ;disable low health alarm - ld [wChannelSoundIDs + Ch5], a + ld [wChannelSoundIDs + CHAN5], a push hl push de ld bc, wPartyMon1MaxHP - (wPartyMon1HP + 1) @@ -1732,7 +1732,7 @@ ItemUsePokeflute: call WaitForSoundToFinish ; wait for sound to end farcall Music_PokeFluteInBattle ; play in-battle pokeflute music .musicWaitLoop ; wait for music to finish playing - ld a, [wChannelSoundIDs + Ch7] + ld a, [wChannelSoundIDs + CHAN7] and a ; music off? jr nz, .musicWaitLoop .skipMusic @@ -1799,7 +1799,7 @@ PlayedFluteHadEffectText: ld c, BANK(SFX_Pokeflute) call PlayMusic .musicWaitLoop ; wait for music to finish playing - ld a, [wChannelSoundIDs + Ch3] + ld a, [wChannelSoundIDs + CHAN3] cp SFX_POKEFLUTE jr z, .musicWaitLoop call PlayDefaultMusic ; start playing normal music again |
