From: Lukas Krickl Date: Mon, 15 Dec 2025 22:04:42 +0000 (+0100) Subject: actor: fixed west and east direction mixup X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=20a7af37b246d1bdfccd532af2541aa748dfc6fd;p=gbrg%2F.git actor: fixed west and east direction mixup --- diff --git a/src/actor.s b/src/actor.s index 6f58efa..c872086 100644 --- a/src/actor.s +++ b/src/actor.s @@ -9,8 +9,8 @@ act_dir_vector: .db 0x10 ; SOUTH .db 0x90 ; NORTH -.db 0x01 ; WEST -.db 0x09 ; EAST +.db 0x09 ; WEST +.db 0x01 ; EAST ; reverse direction act_dir_reverse: diff --git a/src/tiles.s b/src/tiles.s index 75f5aeb..ec7f643 100644 --- a/src/tiles.s +++ b/src/tiles.s @@ -76,7 +76,7 @@ tile_north_east_exit: tiledef TT_WALL, TF_EE | TF_NE, 0 tile_north_west_exit: - tiledef TT_WALL, TF_WE | TF_WE, 0 + tiledef TT_WALL, TF_WE | TF_NE, 0 tile_south_east_exit: tiledef TT_WALL, TF_EE | TF_SE, 0 diff --git a/src/ui.s b/src/ui.s index 2656018..9621f1f 100644 --- a/src/ui.s +++ b/src/ui.s @@ -37,7 +37,7 @@ ui_draw: ret compass_tiles: - .db TILE_SOUTH, TILE_NORTH, TILE_EAST, TILE_WEST + .db TILE_SOUTH, TILE_NORTH, TILE_WEST, TILE_EAST ; draws the players current facing direction ; as a compass