You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Clear sprite animations before board menu die roll animation to prevent artifacts such as from party menu animations (#11)
This commit is contained in:
@@ -90,6 +90,8 @@ BoardMenu::
|
||||
ld a, BOARDMENUITEM_DIE
|
||||
.ok
|
||||
ld [wBoardMenuCursorPosition], a
|
||||
; clear any other sprite animation
|
||||
farcall ClearSpriteAnims
|
||||
; refresh overworld sprites to hide those behind textbox before drawing new graphics
|
||||
call UpdateSprites
|
||||
farcall LoadBoardMenuGFX
|
||||
@@ -396,6 +398,7 @@ BoardMenu_OpenSubmenu:
|
||||
|
||||
BoardMenu_CloseSubmenu:
|
||||
call ClearBGPalettes
|
||||
farcall ClearSpriteAnims
|
||||
ld a, TRUE
|
||||
ld [wText2bpp], a
|
||||
call EnableOverworldHUD
|
||||
|
||||
Reference in New Issue
Block a user