From 7f7ffeb5fb57e94e4f3652e840411d9a11e66de5 Mon Sep 17 00:00:00 2001 From: aerinon Date: Fri, 14 Nov 2025 14:37:15 -0700 Subject: [PATCH] feat: lamp cone bitmask settings --- lampmantlecone.asm | 3 ++- tables.asm | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lampmantlecone.asm b/lampmantlecone.asm index b0f00e8..4843547 100644 --- a/lampmantlecone.asm +++ b/lampmantlecone.asm @@ -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 diff --git a/tables.asm b/tables.asm index 4e6b825..ba58718 100644 --- a/tables.asm +++ b/tables.asm @@ -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: