diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-06-16 18:31:23 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-06-19 18:52:24 -0500 |
commit | ad0bb29c4b5802a526722ab15a63396c437dc943 (patch) | |
tree | bfda08573471b17151fc4c3cc38ba5d3498b25d6 /src/fieldmap.c | |
parent | 544b5b61d42e355ef44c65dc84e53d5f73d7c0e1 (diff) |
Label various overworld-related things
Diffstat (limited to 'src/fieldmap.c')
-rw-r--r-- | src/fieldmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fieldmap.c b/src/fieldmap.c index 7383bb174..b819d7275 100644 --- a/src/fieldmap.c +++ b/src/fieldmap.c @@ -676,8 +676,8 @@ int GetPostCameraMoveMapBorderId(int x, int y) int CanCameraMoveInDirection(int direction) { int x, y; - x = gSaveBlock1.pos.x + 7 + gUnknown_0821664C[direction].x; - y = gSaveBlock1.pos.y + 7 + gUnknown_0821664C[direction].y; + x = gSaveBlock1.pos.x + 7 + gDirectionToVectors[direction].x; + y = gSaveBlock1.pos.y + 7 + gDirectionToVectors[direction].y; if (GetMapBorderIdAt(x, y) == -1) { return 0; |