mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 23:22:26 +13:00
Fix remaining uses of fade
This commit is contained in:
parent
37d3ba4b39
commit
b2afaae7ab
14 changed files with 43 additions and 62 deletions
|
|
@ -760,7 +760,6 @@ HandleBlackOut::
|
|||
call GBFadeOutToBlack
|
||||
ld a, $08
|
||||
call StopMusic
|
||||
call WaitForSongToFinish
|
||||
ld hl, wd72e
|
||||
res 5, [hl]
|
||||
ld a, BANK(ResetStatusAndHalveMoneyOnBlackout) ; also BANK(SpecialWarpIn) and BANK(SpecialEnterMap)
|
||||
|
|
@ -775,24 +774,11 @@ StopMusic::
|
|||
ld [wMusicFade], a
|
||||
xor a
|
||||
ld [wMusicFadeID], a
|
||||
.wait0
|
||||
ld a, [wMusicFadeCount]
|
||||
.wait
|
||||
ld a, [wMusicFade]
|
||||
and a
|
||||
jr z, .wait0
|
||||
.wait1
|
||||
ld a, [wMusicFadeCount]
|
||||
and a
|
||||
jr nz, .wait1
|
||||
ret
|
||||
; ld [wAudioFadeOutControl], a
|
||||
; ld a, SFX_STOP_ALL_MUSIC
|
||||
; ld [wNewSoundID], a
|
||||
; call PlaySound
|
||||
;.wait
|
||||
; ld a, [wAudioFadeOutControl]
|
||||
; and a
|
||||
; jr nz, .wait
|
||||
; jp StopAllSounds
|
||||
jr nz, .wait
|
||||
jp StopAllSounds
|
||||
|
||||
HandleFlyWarpOrDungeonWarp::
|
||||
call UpdateSprites
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue