Add setting to cap hud/cave loot

This commit is contained in:
2026-05-04 08:52:11 -05:00
parent fbd4efc447
commit d7503ad0f3
2 changed files with 21 additions and 2 deletions

View File

@@ -22,11 +22,26 @@ UpdateLootHUD:
ORA.b RoomIndex
JSL CheckLoot
SEP #$30
CMP.l ShowItems_hud_cap
BCC +
LDA.l ShowItems_hud_cap
+
LDX.w DungeonID
CPX.b #$FF
BNE +
CMP.l ShowItems_cave_cap
BCC +
LDA.l ShowItems_cave_cap
+
REP #$30
ASL A : TAX
LDA.l HUDLootTypeIcons, X
STA.w EnemyDropIndicator
REP #$30
PLA : STA.b $0E
PLA : STA.b $08
PLA : STA.b $06

View File

@@ -209,7 +209,11 @@ ShowItems:
.visited_tile
db $01
.reserved
skip 4
skip 2
.hud_cap
db $FF
.cave_cap
db $01
warnpc $B9FF10
org $B9FF10