diff options
author | yenatch <yenatch@gmail.com> | 2016-01-04 07:41:19 -0500 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2016-01-04 07:41:19 -0500 |
commit | 0add51451cda9d4221af137f83e2429d3577310c (patch) | |
tree | fd05f8f0ad49d88b032dc9e10af85a42dfa0e402 /engine/options_menu.asm | |
parent | da87d2a929b1d58175efe063833c124d8ba702c9 (diff) | |
parent | 2a263629a40e201b1702e2f4e65f1c61360cc2b2 (diff) |
Merge pull request #330 from PikalaxALT/scriptmacrorenaming
Scriptmacrorenaming
Diffstat (limited to 'engine/options_menu.asm')
-rwxr-xr-x | engine/options_menu.asm | 19 |
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 |