Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2477918df9 | ||
|
|
a52f0d71fb |
+3
-1
@@ -490,7 +490,9 @@ GetLootClass:
|
||||
CMP.w #$0080 : BNE .not_compass
|
||||
|
||||
.compass
|
||||
LDA.l AlwaysShowCompass : BNE .check_value
|
||||
LDA.l AlwaysShowCompass
|
||||
AND.w #$00FF
|
||||
BNE .check_value
|
||||
|
||||
.not_compass
|
||||
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)
|
||||
..areas
|
||||
db $02, $00, $80, $00, $FF
|
||||
db $01, $34, $D4, $B8, $FF
|
||||
db $01, $34, $44, $B4, $FF
|
||||
db $FF
|
||||
..doors
|
||||
db $03, $06
|
||||
|
||||
@@ -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
|
||||
|
||||
+13
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user