Stop map anims during End Space fade out anim to prevent palette flickering (#22) [bugfix to 961d2f0b]

This commit is contained in:
xCrystal 2023-12-31 13:49:41 +01:00
parent a40f7cdde7
commit c5e3179059

View File

@ -76,6 +76,9 @@ EndSpaceScript::
ld hl, wDisplaySecondarySprites
res SECONDARYSPRITES_SPACES_LEFT_F, [hl]
call UpdateActiveSprites
; stop map anims
xor a
ld [hMapAnims], a
; fade out slow to white
ld b, RGBFADE_TO_WHITE_8BGP_8OBP
jp DoRGBFadeEffect