Clear unseen connections in custom map mode

This commit is contained in:
2026-01-07 06:12:43 -06:00
parent bdb1272cb2
commit 0a98db7025
3 changed files with 71 additions and 2 deletions

View File

@@ -58,6 +58,16 @@ DrawDungeonMapRoom:
STA.b $0A
+
PLX
LDA.l DungeonMapMode
BEQ +
LDA.b $0A
CMP.w #$0003
BCS +
JSL ClearAdjacentConnections
+
LDA.b $0A : BNE + : LDA.w #$0F00 : BRA ++
+ DEC A : BNE + : LDA.w #$174F : BRA ++
+ DEC A : BNE + : LDA.w #$174F : BRA ++
@@ -67,8 +77,6 @@ DrawDungeonMapRoom:
+ LDA.w #$0800
++ STA.b $0C
PLX
LDA.b $CA
AND.w #$00FF
ASL A : ASL A : ASL A