summaryrefslogtreecommitdiff
path: root/engine/options_menu.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-12-02 17:59:05 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2015-12-02 17:59:05 -0500
commit2cdca754410fc97878b99a673eeaa9cfad49ed9e (patch)
treeffb17798fafa0a3075f20166e43ffbe16e52bd94 /engine/options_menu.asm
parentbe082943ed8fa746ae345b9f93783e5993550373 (diff)
Crystal Intro
Diffstat (limited to 'engine/options_menu.asm')
-rwxr-xr-xengine/options_menu.asm19
1 files changed, 18 insertions, 1 deletions
diff --git a/engine/options_menu.asm b/engine/options_menu.asm
index ed2c21f30..2e8b0424b 100755
--- a/engine/options_menu.asm
+++ b/engine/options_menu.asm
@@ -47,7 +47,7 @@ _OptionsMenu: ; e41d0
jr c, .ExitOptions
.dpad
- call Functione455c
+ call Options_UpdateCursorPosition
ld c, 3
call DelayFrames
jr .joypad_loop
@@ -563,3 +563,20 @@ OptionsControl: ; e452a
scf
ret
; e455c
+
+Options_UpdateCursorPosition: ; e455c
+ hlcoord 1, 1
+ ld de, SCREEN_WIDTH
+ ld c, $10
+.loop
+ ld [hl], " "
+ add hl, de
+ dec c
+ jr nz, .loop
+ hlcoord 1, 2
+ ld bc, 2 * SCREEN_WIDTH
+ ld a, [wJumptableIndex]
+ call AddNTimes
+ ld [hl], "▶"
+ ret
+; e4579