diff options
author | Slawter666 <38655737+Slawter666@users.noreply.github.com> | 2018-09-04 23:31:37 +0100 |
---|---|---|
committer | Slawter666 <38655737+Slawter666@users.noreply.github.com> | 2018-09-04 23:31:37 +0100 |
commit | 4c54212b1f559a110fc7f6fffebe3a54748f3fec (patch) | |
tree | 9a15ec95345fdc22fd5d48580f0492695b8c036f /src/fieldmap.c | |
parent | 5c66b8a7eff886b72bb98e22b5b34421d1a601d2 (diff) |
Bring labels for overworld.c over from pokeruby
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 8d1988686..019db9d0d 100644 --- a/src/fieldmap.c +++ b/src/fieldmap.c @@ -712,8 +712,8 @@ int GetPostCameraMoveMapBorderId(int x, int y) int CanCameraMoveInDirection(int direction) { int x, y; - x = gSaveBlock1Ptr->pos.x + 7 + gUnknown_08339D64[direction].x; - y = gSaveBlock1Ptr->pos.y + 7 + gUnknown_08339D64[direction].y; + x = gSaveBlock1Ptr->pos.x + 7 + gDirectionToVectors[direction].x; + y = gSaveBlock1Ptr->pos.y + 7 + gDirectionToVectors[direction].y; if (GetMapBorderIdAt(x, y) == -1) { return 0; |