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

@@ -1,6 +1,6 @@
Reset: ; 150
di
call CleanSoundRestart
call SoundRestart
xor a
ld [$ffde], a
call ClearPalettes
@@ -170,7 +170,7 @@ Init: ; 17d
ld a, $30
call Predef
call CleanSoundRestart
call SoundRestart
xor a
ld [CurMusic], a
jp GameInit

View File

@@ -167,9 +167,9 @@ VBlank0: ; 2b1
call Joypad
; update sound
ld a, BANK(UpdateSound)
ld a, BANK(_UpdateSound)
rst Bankswitch ; bankswitch
call UpdateSound
call _UpdateSound
ld a, [$ff8a]
rst Bankswitch ; restore bank
@@ -189,9 +189,9 @@ VBlank2: ; 325
ld [$ff8a], a
; update sound
ld a, BANK(UpdateSound)
ld a, BANK(_UpdateSound)
rst Bankswitch ; bankswitch
call UpdateSound
call _UpdateSound
; restore bank
ld a, [$ff8a]
@@ -265,9 +265,9 @@ VBlank1: ; 337
ei
; update sound
ld a, BANK(UpdateSound)
ld a, BANK(_UpdateSound)
rst Bankswitch ; bankswitch
call UpdateSound
call _UpdateSound
; restore bank
ld a, [$ff8a]
rst Bankswitch
@@ -369,9 +369,9 @@ VBlank3: ; 396
ei
; update sound
ld a, BANK(UpdateSound)
ld a, BANK(_UpdateSound)
rst Bankswitch ; bankswitch
call UpdateSound
call _UpdateSound
; restore bank
ld a, [$ff8a]
rst Bankswitch
@@ -434,9 +434,9 @@ VBlank4: ; 3df
call AskSerial
; update sound
ld a, BANK(UpdateSound)
ld a, BANK(_UpdateSound)
rst Bankswitch ; bankswitch
call UpdateSound
call _UpdateSound
; restore bank
ld a, [$ff8a]
rst Bankswitch
@@ -486,9 +486,9 @@ VBlank5: ; 400
ei
; update sound
ld a, BANK(UpdateSound)
ld a, BANK(_UpdateSound)
rst Bankswitch ; bankswitch
call UpdateSound
call _UpdateSound
; restore bank
ld a, [$ff8a]
rst Bankswitch
@@ -531,9 +531,9 @@ VBlank6: ; 436
ld [VBlankOccurred], a
; update sound
ld a, BANK(UpdateSound)
ld a, BANK(_UpdateSound)
rst Bankswitch ; bankswitch
call UpdateSound
call _UpdateSound
; restore bank
ld a, [$ff8a]
rst Bankswitch