From: Lukas Krickl Date: Sat, 25 Jan 2025 05:17:56 +0000 (+0100) Subject: map: Added note about future dungeon generation X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=4cfeb8994ee0755d6f58dc3be939c95769219dc3;p=gbrg%2F.git map: Added note about future dungeon generation --- 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]