From 4cfeb8994ee0755d6f58dc3be939c95769219dc3 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Sat, 25 Jan 2025 06:17:56 +0100 Subject: [PATCH] map: Added note about future dungeon generation --- src/map.s | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/map.s b/src/map.s index 1c0a769..24a6ce9 100644 --- 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] -- 2.30.2