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 /home/movement.asm | |
parent | da87d2a929b1d58175efe063833c124d8ba702c9 (diff) | |
parent | 2a263629a40e201b1702e2f4e65f1c61360cc2b2 (diff) |
Merge pull request #330 from PikalaxALT/scriptmacrorenaming
Scriptmacrorenaming
Diffstat (limited to 'home/movement.asm')
-rw-r--r-- | home/movement.asm | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/home/movement.asm b/home/movement.asm index 7de5e0432..f962c8316 100644 --- a/home/movement.asm +++ b/home/movement.asm @@ -136,10 +136,10 @@ endr big_step_right ; 1bb1 -InitMenu3:: ; 1bb1 +SetMenuAttributes:: ; 1bb1 push hl push bc - ld hl, wcfa1 + ld hl, w2DMenuCursorInitY ld b, $8 .loop ld a, [de] @@ -160,19 +160,19 @@ endr ret ; 1bc9 -Function1bc9:: ; 1bc9 - callab Function241a8 - call Function1bdd +StaticMenuJoypad:: ; 1bc9 + callab _StaticMenuJoypad + call GetMenuJoypad ret ; 1bd3 -Function1bd3:: ; 1bd3 - callab Function241ab - call Function1bdd +ScrollingMenuJoypad:: ; 1bd3 + callab _ScrollingMenuJoypad + call GetMenuJoypad ret ; 1bdd -Function1bdd:: ; 1bdd +GetMenuJoypad:: ; 1bdd push bc push af ld a, [hJoyLast] @@ -188,21 +188,21 @@ Function1bdd:: ; 1bdd ret ; 1bee -Function1bee:: ; 1bee - ld hl, wcfac +PlaceHollowCursor:: ; 1bee + ld hl, wCursorCurrentTile ld a, [hli] ld h, [hl] ld l, a - ld [hl], $ec + ld [hl], "▷" ret ; 1bf7 -Function1bf7:: ; 1bf7 - ld hl, wcfac +HideCursor:: ; 1bf7 + ld hl, wCursorCurrentTile ld a, [hli] ld h, [hl] ld l, a - ld [hl], $7f + ld [hl], " " ret ; 1c00 |