Dashing mimics and crystal books

This commit is contained in:
2025-03-09 16:42:54 -05:00
parent bc966c0f99
commit 66e4e91beb
5 changed files with 90 additions and 1 deletions

22
mimicdash.asm Normal file
View File

@@ -0,0 +1,22 @@
;================================================================================
; Mimic Direction Check
;--------------------------------------------------------------------------------
; Output: 0 for darkness, 1 for lamp cone
;--------------------------------------------------------------------------------
MimicDirection:
LDA.b $F0
AND.b #$0F
BNE .done
LDA.l MimicDash
BEQ .done
LDA.w $0372
BEQ .done
LDA.w $0374
BNE .make_zero
LDA.b $67
.done
RTL
.make_zero
LDA.b #$00
RTL