Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2477918df9 | ||
|
|
a52f0d71fb |
+3
-1
@@ -490,7 +490,9 @@ GetLootClass:
|
|||||||
CMP.w #$0080 : BNE .not_compass
|
CMP.w #$0080 : BNE .not_compass
|
||||||
|
|
||||||
.compass
|
.compass
|
||||||
LDA.l AlwaysShowCompass : BNE .check_value
|
LDA.l AlwaysShowCompass
|
||||||
|
AND.w #$00FF
|
||||||
|
BNE .check_value
|
||||||
|
|
||||||
.not_compass
|
.not_compass
|
||||||
LDA.b $0E
|
LDA.b $0E
|
||||||
|
|||||||
@@ -452,7 +452,7 @@ db $01
|
|||||||
%d(..areas) : %d(..doors) : %d(.no_items) : %d(.no_items) : %d(.no_items) : %d(.no_items)
|
%d(..areas) : %d(..doors) : %d(.no_items) : %d(.no_items) : %d(.no_items) : %d(.no_items)
|
||||||
..areas
|
..areas
|
||||||
db $02, $00, $80, $00, $FF
|
db $02, $00, $80, $00, $FF
|
||||||
db $01, $34, $D4, $B8, $FF
|
db $01, $34, $44, $B4, $FF
|
||||||
db $FF
|
db $FF
|
||||||
..doors
|
..doors
|
||||||
db $03, $06
|
db $03, $06
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
+11
-1
@@ -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 +
|
||||||
|
|
||||||
|
; 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
|
LDA.b RoomIndex
|
||||||
BRA .check
|
BRA .check
|
||||||
+
|
|
||||||
|
+ ; figure out section before checking
|
||||||
JSL DetectLinksSection
|
JSL DetectLinksSection
|
||||||
INC A
|
INC A
|
||||||
XBA
|
XBA
|
||||||
|
|||||||
Reference in New Issue
Block a user