summaryrefslogtreecommitdiff
path: root/home/tilemap.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/tilemap.asm')
-rwxr-xr-xhome/tilemap.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/tilemap.asm b/home/tilemap.asm
index 4cccbb61..ecced960 100755
--- a/home/tilemap.asm
+++ b/home/tilemap.asm
@@ -33,10 +33,10 @@ ScrollingMenuJoypad:: ; 1a70 (0:1a70)
GetMenuJoypad:: ; 1a7a (0:1a7a)
push bc
push af
- ld a, [hJoyLast]
+ ldh a, [hJoyLast]
and D_PAD
ld b, a
- ld a, [hJoyPressed]
+ ldh a, [hJoyPressed]
and BUTTONS
or b
ld b, a