fix labels for SoundRestart and UpdateSound

This commit is contained in:
yenatch
2013-10-11 02:49:08 -04:00
parent 66ef183847
commit 946a213f09
4 changed files with 28 additions and 29 deletions

View File

@@ -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