1 Commits

Author SHA1 Message Date
5831117e36 Fix light cone not showing after torches extinguish 2026-01-16 18:28:21 -06:00

View File

@@ -34,16 +34,20 @@ RTL
; Output: 0 locked, 1 open ; Output: 0 locked, 1 open
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
CheckForZelda: CheckForZelda:
LDA.l ProgressIndicator : CMP.b #$02 : !BLT + ; Skip if rain is falling LDA.l ProgressIndicator : CMP.b #$02 : !BLT + ; Skip if rain is falling
LDA.b #$01 ; pretend we have zelda anyway LDA.b #$01 ; pretend we have zelda anyway
RTL RTL
+ +
LDA.l FollowerIndicator LDA.l FollowerIndicator
RTL RTL
;================================================================================ ;================================================================================
SetOverlayIfLamp: SetOverlayIfLamp:
JSL LampCheck JSL LampCheck
STA.b SUBDESQ ; write it directly to the overlay, this isn't a terrible idea at all CMP.b #$00
BEQ +
LDA.b #$01
+
STA.b SUBDESQ ; write it directly to the overlay, this isn't a terrible idea at all
RTL RTL
;================================================================================ ;================================================================================
; Mantle Object Changes ; Mantle Object Changes