From 61e0ce96c89f1281a0530eb8e34442f8bfaf62e9 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Tue, 29 Jul 2025 05:53:02 +0200 Subject: [PATCH] chore: Added note about mapgen trying to avoid doors next to walls --- src/mapgen.s | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mapgen.s b/src/mapgen.s index 6977096..948502e 100644 --- a/src/mapgen.s +++ b/src/mapgen.s @@ -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 -- 2.30.2