mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Stop map anims during End Space fade out anim to prevent palette flickering (#22) [bugfix to 961d2f0b
]
This commit is contained in:
parent
a40f7cdde7
commit
c5e3179059
@ -76,6 +76,9 @@ EndSpaceScript::
|
|||||||
ld hl, wDisplaySecondarySprites
|
ld hl, wDisplaySecondarySprites
|
||||||
res SECONDARYSPRITES_SPACES_LEFT_F, [hl]
|
res SECONDARYSPRITES_SPACES_LEFT_F, [hl]
|
||||||
call UpdateActiveSprites
|
call UpdateActiveSprites
|
||||||
|
; stop map anims
|
||||||
|
xor a
|
||||||
|
ld [hMapAnims], a
|
||||||
; fade out slow to white
|
; fade out slow to white
|
||||||
ld b, RGBFADE_TO_WHITE_8BGP_8OBP
|
ld b, RGBFADE_TO_WHITE_8BGP_8OBP
|
||||||
jp DoRGBFadeEffect
|
jp DoRGBFadeEffect
|
||||||
|
Loading…
Reference in New Issue
Block a user