mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Organize macros/ like pokecrystal
While doing so I replaced the StopAllMusic macro with a SFX_STOP_ALL_MUSIC constant and applied it throughout the code.
This commit is contained in:
parent
ccb01731fe
commit
9878f01e29
43 changed files with 450 additions and 389 deletions
|
|
@ -4,7 +4,7 @@ ShakeElevator::
|
|||
ld de, SCREEN_HEIGHT * $20
|
||||
call ShakeElevatorRedrawRow
|
||||
call Delay3
|
||||
ld a, $ff
|
||||
ld a, SFX_STOP_ALL_MUSIC
|
||||
call PlaySound
|
||||
ld a, [hSCY]
|
||||
ld d, a
|
||||
|
|
@ -27,7 +27,7 @@ ShakeElevator::
|
|||
jr nz, .shakeLoop
|
||||
ld a, d
|
||||
ld [hSCY], a
|
||||
ld a, $ff
|
||||
ld a, SFX_STOP_ALL_MUSIC
|
||||
call PlaySound
|
||||
ld c, BANK(SFX_Safari_Zone_PA)
|
||||
ld a, SFX_SAFARI_ZONE_PA
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ AnimateHealingMachine:
|
|||
call CopyHealingMachineOAM
|
||||
ld a, 4
|
||||
ld [wAudioFadeOutControl], a
|
||||
ld a, $ff
|
||||
ld a, SFX_STOP_ALL_MUSIC
|
||||
ld [wNewSoundID], a
|
||||
call PlaySound
|
||||
.waitLoop
|
||||
|
|
@ -38,7 +38,7 @@ AnimateHealingMachine:
|
|||
cp BANK(Audio3_UpdateMusic)
|
||||
ld [wAudioSavedROMBank], a
|
||||
jr nz, .next
|
||||
ld a, $ff
|
||||
ld a, SFX_STOP_ALL_MUSIC
|
||||
ld [wNewSoundID], a
|
||||
call PlaySound
|
||||
ld a, BANK(Music_PkmnHealed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue