actor: fixed west and east direction mixup
authorLukas Krickl <lukas@krickl.dev>
Mon, 15 Dec 2025 22:04:42 +0000 (23:04 +0100)
committerLukas Krickl <lukas@krickl.dev>
Mon, 15 Dec 2025 22:04:42 +0000 (23:04 +0100)
src/actor.s
src/tiles.s
src/ui.s

index 6f58efa9082c7db0d26d8c5a0c609ff9578fb071..c8720860c5bf2ad213c0bf4022b359cdc462d5a4 100644 (file)
@@ -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:
index 75f5aeb801a1a8b5407e5c09d5b62b48a296e373..ec7f6435e47467f4b50c144e1d1171d428a7c4d3 100644 (file)
@@ -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 
index 2656018479d0fb2d6008362ed77f1eaa1ca09113..9621f1fbc49f73c7a22b6f91c4f0d23363a3107d 100644 (file)
--- 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