projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d7beaa
)
map: Added note about future dungeon generation
author
Lukas Krickl
<lukas@krickl.dev>
Sat, 25 Jan 2025 05:17:56 +0000
(06:17 +0100)
committer
Lukas Krickl
<lukas@krickl.dev>
Sat, 25 Jan 2025 05:17:56 +0000
(06:17 +0100)
src/map.s
patch
|
blob
|
history
diff --git
a/src/map.s
b/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]