mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 07:02:17 +13:00
Unify audio bank references
2→1 8→2 1f→3
This commit is contained in:
parent
b4081e851a
commit
a6f04b4349
22 changed files with 626 additions and 626 deletions
|
|
@ -56,20 +56,20 @@ VBlank::
|
|||
ld [H_LOADEDROMBANK], a
|
||||
ld [MBC1RomBank], a
|
||||
|
||||
cp BANK(Music2_UpdateMusic)
|
||||
jr nz, .notbank2
|
||||
.bank2
|
||||
call Music2_UpdateMusic
|
||||
cp BANK(Audio1_UpdateMusic)
|
||||
jr nz, .checkForAudio2
|
||||
.audio1
|
||||
call Audio1_UpdateMusic
|
||||
jr .afterMusic
|
||||
.notbank2
|
||||
cp BANK(Music8_UpdateMusic)
|
||||
jr nz, .bank1F
|
||||
.bank8
|
||||
.checkForAudio2
|
||||
cp BANK(Audio2_UpdateMusic)
|
||||
jr nz, .audio3
|
||||
.audio2
|
||||
call Music_DoLowHealthAlarm
|
||||
call Music8_UpdateMusic
|
||||
call Audio2_UpdateMusic
|
||||
jr .afterMusic
|
||||
.bank1F
|
||||
call Music1f_UpdateMusic
|
||||
.audio3
|
||||
call Audio3_UpdateMusic
|
||||
.afterMusic
|
||||
|
||||
callba TrackPlayTime ; keep track of time played
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue