summaryrefslogtreecommitdiff
path: root/home/movement.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-10-16 13:35:43 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-10-16 13:35:43 -0400
commit4fa6c6daa46935c7580a60a22bd9216414246dc0 (patch)
treeac6d9963a55214087d9b81b510409b6fdffcb164 /home/movement.asm
parent1e2ff967aa11ed0bcdd1dd069bde67724d3851c2 (diff)
Split up bank 2; other relabelings
Diffstat (limited to 'home/movement.asm')
-rw-r--r--home/movement.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/movement.asm b/home/movement.asm
index 87f28f5ca..d85be3b09 100644
--- a/home/movement.asm
+++ b/home/movement.asm
@@ -159,11 +159,11 @@ Function1bd3:: ; 1bd3
Function1bdd:: ; 1bdd
push bc
push af
- ld a, [$ffa9]
- and $f0
+ ld a, [hJoyLast]
+ and D_PAD
ld b, a
ld a, [hJoyPressed]
- and $f
+ and BUTTONS
or b
ld b, a
pop af
@@ -214,7 +214,7 @@ WriteBackup:: ; 0x1c17
ret
Function1c23:: ; 0x1c23
- call Function1cfd
+ call GetMemTileCoord
call Function1c30
call Function1d19
call Function1c30