summaryrefslogtreecommitdiff
path: root/home/map.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/map.asm')
-rw-r--r--home/map.asm11
1 files changed, 9 insertions, 2 deletions
diff --git a/home/map.asm b/home/map.asm
index c51f9c48a..b3c62b33a 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -1593,7 +1593,14 @@ GetMovementPermissions:: ; 2914
; 2945
.MovementPermissionsData ; 2945
- db 1, 2, 4, 8, 9, 10, 5, 6
+ db 1 << DOWN
+ db 1 << UP
+ db 1 << LEFT
+ db 1 << RIGHT
+ db (1 << DOWN) | (1 << RIGHT)
+ db (1 << UP) | (1 << RIGHT)
+ db (1 << DOWN) | (1 << LEFT)
+ db (1 << UP) | (1 << LEFT)
; 294d
.UpDown
@@ -1805,7 +1812,7 @@ GetBlockLocation:: ; 2a66
add 6
ld c, a
ld b, 0
- ld hl, wc801
+ ld hl, OverworldMap + 1
add hl, bc
ld a, e
srl a