diff --git a/engine/board/menu.asm b/engine/board/menu.asm index 56aa890f0..8b469aa0e 100755 --- a/engine/board/menu.asm +++ b/engine/board/menu.asm @@ -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 diff --git a/engine/overworld/scripting.asm b/engine/overworld/scripting.asm index 45260120e..9453eebfa 100644 --- a/engine/overworld/scripting.asm +++ b/engine/overworld/scripting.asm @@ -464,11 +464,7 @@ Script_verbosegiveitem: ld de, GiveItemScript jp ScriptCall -GiveItemScript_DummyFunction: - ret - GiveItemScript: - callasm GiveItemScript_DummyFunction writetext .ReceivedItemText iffalse .Full waitsfx