12/14/2017

This commit is contained in:
Karkat
2017-12-14 15:43:20 -05:00
parent fe2cb8f277
commit b9a180b8c6
9 changed files with 178 additions and 6 deletions

View File

@@ -4,6 +4,9 @@
; Output: 0 for darkness, 1 for lamp cone
;--------------------------------------------------------------------------------
LampCheck:
LDA $7F50C4 : CMP.b #$01 : BNE + : RTL : +
CMP.b #$FF : BNE + : INC : RTL : +
LDA $7EF34A : BNE .done ; skip if we already have lantern
LDA $7EF3CA : BNE +