Bugfixes
This commit is contained in:
@@ -688,6 +688,13 @@ GetSpecificRoomVisibility:
|
|||||||
STA.b $0A
|
STA.b $0A
|
||||||
+
|
+
|
||||||
|
|
||||||
|
SEP #$20
|
||||||
|
LDA.b $0A
|
||||||
|
CMP.b $0B
|
||||||
|
BCC +
|
||||||
|
STA.b $0B
|
||||||
|
+
|
||||||
|
|
||||||
REP #$20
|
REP #$20
|
||||||
LDA.b $CA
|
LDA.b $CA
|
||||||
AND.w #$00FF
|
AND.w #$00FF
|
||||||
|
|||||||
+13
-3
@@ -15,11 +15,21 @@ UpdateLootHUD:
|
|||||||
LDA.b $08 : PHA
|
LDA.b $08 : PHA
|
||||||
LDA.b $0E : PHA
|
LDA.b $0E : PHA
|
||||||
|
|
||||||
|
; if if door rando, check for section of supertile
|
||||||
LDA.l DRMode
|
LDA.l DRMode
|
||||||
BNE +
|
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
|
JSL DetectLinksSection
|
||||||
INC A
|
INC A
|
||||||
XBA
|
XBA
|
||||||
|
|||||||
Reference in New Issue
Block a user