From 20a7af37b246d1bdfccd532af2541aa748dfc6fd Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Mon, 15 Dec 2025 23:04:42 +0100 Subject: [PATCH] actor: fixed west and east direction mixup --- src/actor.s | 4 ++-- src/tiles.s | 2 +- src/ui.s | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.30.2