fix labels for SoundRestart and UpdateSound
This commit is contained in:
18
main.asm
18
main.asm
@@ -2985,7 +2985,7 @@ Function3b3c: ; 3b3c
|
||||
; 3b4e
|
||||
|
||||
|
||||
CleanSoundRestart: ; 3b4e
|
||||
SoundRestart: ; 3b4e
|
||||
|
||||
push hl
|
||||
push de
|
||||
@@ -2994,11 +2994,11 @@ CleanSoundRestart: ; 3b4e
|
||||
|
||||
ld a, [hROMBank]
|
||||
push af
|
||||
ld a, BANK(SoundRestart)
|
||||
ld a, BANK(_SoundRestart)
|
||||
ld [hROMBank], a
|
||||
ld [MBC3RomBank], a
|
||||
|
||||
call SoundRestart
|
||||
call _SoundRestart
|
||||
|
||||
pop af
|
||||
ld [hROMBank], a
|
||||
@@ -3012,7 +3012,7 @@ CleanSoundRestart: ; 3b4e
|
||||
; 3b6a
|
||||
|
||||
|
||||
CleanUpdateSound: ; 3b6a
|
||||
UpdateSound: ; 3b6a
|
||||
|
||||
push hl
|
||||
push de
|
||||
@@ -3021,11 +3021,11 @@ CleanUpdateSound: ; 3b6a
|
||||
|
||||
ld a, [hROMBank]
|
||||
push af
|
||||
ld a, BANK(UpdateSound)
|
||||
ld a, BANK(_UpdateSound)
|
||||
ld [hROMBank], a
|
||||
ld [MBC3RomBank], a
|
||||
|
||||
call UpdateSound
|
||||
call _UpdateSound
|
||||
|
||||
pop af
|
||||
ld [hROMBank], a
|
||||
@@ -3065,7 +3065,7 @@ PlayMusic: ; 3b97
|
||||
|
||||
ld a, [hROMBank]
|
||||
push af
|
||||
ld a, BANK(_PlayMusic) ; and BANK(SoundRestart)
|
||||
ld a, BANK(_PlayMusic) ; and BANK(_SoundRestart)
|
||||
ld [hROMBank], a
|
||||
ld [MBC3RomBank], a
|
||||
|
||||
@@ -3077,7 +3077,7 @@ PlayMusic: ; 3b97
|
||||
jr .end
|
||||
|
||||
.nomusic
|
||||
call SoundRestart
|
||||
call _SoundRestart
|
||||
|
||||
.end
|
||||
pop af
|
||||
@@ -3316,7 +3316,7 @@ Function3cb4: ; 3cb4
|
||||
and a
|
||||
ret z
|
||||
dec a
|
||||
call CleanUpdateSound
|
||||
call UpdateSound
|
||||
jr .asm_3cb4
|
||||
; 3cbc
|
||||
|
||||
|
Reference in New Issue
Block a user