This commit is contained in:
2026-05-13 00:58:23 -05:00
parent a52f0d71fb
commit 2477918df9
2 changed files with 20 additions and 3 deletions

View File

@@ -688,6 +688,13 @@ GetSpecificRoomVisibility:
STA.b $0A
+
SEP #$20
LDA.b $0A
CMP.b $0B
BCC +
STA.b $0B
+
REP #$20
LDA.b $CA
AND.w #$00FF

View File

@@ -15,11 +15,21 @@ UpdateLootHUD:
LDA.b $08 : PHA
LDA.b $0E : PHA
; if if door rando, check for section of supertile
LDA.l DRMode
BNE +
LDA.b RoomIndex
BRA .check
+
; if not in door rando, check for section of supertile if we're not in a dungeon
LDA.w DungeonID
AND.w #$00FF
CMP.w #$00FF
BEQ +
; just load the room id, we don't care about sections
LDA.b RoomIndex
BRA .check
+ ; figure out section before checking
JSL DetectLinksSection
INC A
XBA