summaryrefslogtreecommitdiff
path: root/home/scrolling_menu.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi@gmail.com>2020-08-09 15:16:31 -0400
committerRangi <remy.oukaour+rangi@gmail.com>2020-08-09 15:16:31 -0400
commit9c229cde440bc6f68343331ad7bc6e1a52a742f0 (patch)
tree3bc08aaca7e09ae9933a11dbdcdc545b90d5b343 /home/scrolling_menu.asm
parenta75c6619fb933dc2d4c94b24394fb6fa9335b3b1 (diff)
Clean up some code in home/
Diffstat (limited to 'home/scrolling_menu.asm')
-rw-r--r--home/scrolling_menu.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/home/scrolling_menu.asm b/home/scrolling_menu.asm
index ed2fd6b..5a73bba 100644
--- a/home/scrolling_menu.asm
+++ b/home/scrolling_menu.asm
@@ -36,7 +36,7 @@ Function3810::
ld a, [wMenuJoypad]
ret
-ScrollingMenu:: ; 00:383e
+ScrollingMenu::
call CopyMenuData
ldh a, [hROMBank]
push af
@@ -60,7 +60,7 @@ Function385a::
Function385d::
callab Function_8f1cb
-asm_3865: ; 00:3865
+asm_3865:
pop hl
call MenuTextBox
ld c, $0
@@ -68,22 +68,22 @@ asm_3865: ; 00:3865
call CloseWindow
ret
-Function3872:: ; 00:3872
+Function3872::
push bc
jr asm_387d
Function3875::
callab PlaySpriteAnimationsAndDelayFrame
-asm_387d: ; 00:387d
+asm_387d:
pop bc
call GetJoypad
ldh a, [hJoyDown]
and A_BUTTON | B_BUTTON
- jr nz, .asm_388e
+ jr nz, .done
ld a, c
and a
jr z, Function3872
dec c
jr z, Function3872
-.asm_388e: ; 00:388e
- ret \ No newline at end of file
+.done:
+ ret