chore: Added note about mapgen trying to avoid doors next to walls
authorLukas Krickl <lukas@krickl.dev>
Tue, 29 Jul 2025 03:53:02 +0000 (05:53 +0200)
committerLukas Krickl <lukas@krickl.dev>
Tue, 29 Jul 2025 03:53:02 +0000 (05:53 +0200)
src/mapgen.s

index 6977096a0282559e8680c9130dba89be051429cf..948502e4be1391360d0f5dc4026c3a38ce855e23 100644 (file)
@@ -265,6 +265,9 @@ mapgen_draw_room_pattern:
 
   ; draws a single map pattern row
   ; writes tile flags
+       ; if a door is about to be placed next to 
+       ; and existing wall the door is replaced with a 
+       ; wall tile
   ; inputs:
   ;   hl: map ptr
   ;   bc: room pattern