map: Added note about future dungeon generation
authorLukas Krickl <lukas@krickl.dev>
Sat, 25 Jan 2025 05:17:56 +0000 (06:17 +0100)
committerLukas Krickl <lukas@krickl.dev>
Sat, 25 Jan 2025 05:17:56 +0000 (06:17 +0100)
src/map.s

index 1c0a7692ef1307e0ef1f0c478bc7f8791ab66f03..24a6ce96faea061e1ff01683abf8acd1b6a3b74e 100644 (file)
--- a/src/map.s
+++ b/src/map.s
@@ -637,7 +637,10 @@ map_gen_pick_direction:
   add hl, de ; hl = exit ptr
 
   ; add both bytes of ptr 
-  ; to check if its NULL 
+  ; to check if its NULL
+  ; TODO: if direction is already taken we should 
+  ; follow it and pick again to get more naturally 
+  ; flowing dungeons 
   ld a, [hl+]
   ld e, a
   ld a, [hl]