summaryrefslogtreecommitdiff
path: root/home/window.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-05-10 12:31:49 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-05-10 12:31:49 -0400
commitae36ef2c7fb722b7480d73c7a95a5d1e2ece7831 (patch)
treec6cfbfa143807b10f3baf86eeed3ff6275237c72 /home/window.asm
parente95d42e0af1921f516c1fd4269024aa3f586514f (diff)
Labeled every function in ROM0 that's referenced in the source
Diffstat (limited to 'home/window.asm')
-rw-r--r--home/window.asm6
1 files changed, 4 insertions, 2 deletions
diff --git a/home/window.asm b/home/window.asm
index 5922905a9..5832f1f94 100644
--- a/home/window.asm
+++ b/home/window.asm
@@ -39,7 +39,7 @@ CloseText:: ; 2dcf
call _OpenAndCloseMenu_HDMATransferTileMapAndAttrMap
xor a
ld [hBGMapMode], a
- call Function2e31
+ call SafeUpdateSprites
ld a, $90
ld [hWY], a
call ReplaceKrisSprite
@@ -78,7 +78,7 @@ _OpenAndCloseMenu_HDMATransferTileMapAndAttrMap:: ; 2e20
ret
; 2e31
-Function2e31:: ; 2e31
+SafeUpdateSprites:: ; 2e31
ld a, [hOAMUpdate]
push af
ld a, [hBGMapMode]
@@ -87,7 +87,9 @@ Function2e31:: ; 2e31
ld [hBGMapMode], a
ld a, $1
ld [hOAMUpdate], a
+
call UpdateSprites
+
xor a
ld [hOAMUpdate], a
call DelayFrame