feat: lamp cone bitmask settings

This commit is contained in:
aerinon
2025-11-14 14:37:15 -07:00
parent b27d7c996b
commit 7f7ffeb5fb
2 changed files with 4 additions and 3 deletions

View File

@@ -5,9 +5,10 @@
;--------------------------------------------------------------------------------
LampCheck:
LDA.l LightConeModifier : BNE .lamp
LDA.l LampCone : AND.b #$10 : BEQ .lamp ; always on
LDA.l LampEquipment : BNE .lamp ; skip if we already have lantern
LDA.w DungeonID : CMP.b #$04 : BCS + ; are we en HC?
LDA.l LampConeSewers : RTL
LDA.l LampCone : RTL
+ : TDC
.lamp
RTL

View File

@@ -110,8 +110,8 @@ RupoorDeduction:
dw $000A ; #$0A - Default (10 decimal)
;--------------------------------------------------------------------------------
org $B08038 ; PC 0x180038
LampConeSewers:
db $01 ; #$00 = Off - #$01 = On (default)
LampCone:
db $01 ; #$00 = Off - #$01 = Sewers only (default) - #$11 = Always On
;--------------------------------------------------------------------------------
org $B08039 ; PC 0x180039
ItemCounterHUD: