Merge in dungeon map changes (#1)
known issues: - in-room stairs in door shuffle draw slightly bugged sometimes - entrance sprites in non-doors are sometimes drawn on the wrong floor - in some modes, sanctuary will open HC map instead of sewers/HC2 map Reviewed-on: #1 Co-authored-by: Kara Alexandra <ardnaxelarak@gmail.com> Co-committed-by: Kara Alexandra <ardnaxelarak@gmail.com>
This commit was merged in pull request #1.
This commit is contained in:
22
gk/mimicdash.asm
Normal file
22
gk/mimicdash.asm
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user