summaryrefslogtreecommitdiff
path: root/home/movement.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-01-06 22:07:33 -0600
committerdannye <33dannye@gmail.com>2020-01-06 22:07:33 -0600
commite7be25948dfeef257697a7aa30706339f6ba014b (patch)
tree973d0ad95361a1dfd1c371be59a300be19532e47 /home/movement.asm
parent99d16d616d5f70754dd6aa567e478e587a733d8c (diff)
parent94ebdab6d350fd6ebfd43c5a84710ed14dade8ca (diff)
Merge branch 'master' into audio-macros
Diffstat (limited to 'home/movement.asm')
-rw-r--r--home/movement.asm63
1 files changed, 0 insertions, 63 deletions
diff --git a/home/movement.asm b/home/movement.asm
index 4700f48cf..f329a3c3e 100644
--- a/home/movement.asm
+++ b/home/movement.asm
@@ -127,66 +127,3 @@ ComputePathToWalkToPlayer::
big_step UP
big_step LEFT
big_step RIGHT
-
-SetMenuAttributes::
- push hl
- push bc
- ld hl, w2DMenuCursorInitY
- ld b, $8
-.loop
- ld a, [de]
- inc de
- ld [hli], a
- dec b
- jr nz, .loop
- ld a, $1
- ld [hli], a
- ld [hli], a
- xor a
- ld [hli], a
- ld [hli], a
- ld [hli], a
- pop bc
- pop hl
- ret
-
-StaticMenuJoypad::
- callfar _StaticMenuJoypad
- call GetMenuJoypad
- ret
-
-ScrollingMenuJoypad::
- callfar _ScrollingMenuJoypad
- call GetMenuJoypad
- ret
-
-GetMenuJoypad::
- push bc
- push af
- ldh a, [hJoyLast]
- and D_PAD
- ld b, a
- ldh a, [hJoyPressed]
- and BUTTONS
- or b
- ld b, a
- pop af
- ld a, b
- pop bc
- ret
-
-PlaceHollowCursor::
- ld hl, wCursorCurrentTile
- ld a, [hli]
- ld h, [hl]
- ld l, a
- ld [hl], "▷"
- ret
-
-HideCursor::
- ld hl, wCursorCurrentTile
- ld a, [hli]
- ld h, [hl]
- ld l, a
- ld [hl], " "
- ret