Minor fix to vanilla doors

This commit is contained in:
aerinon
2020-04-09 17:32:06 -06:00
parent ff3577358d
commit acd430378d
5 changed files with 7 additions and 6 deletions

View File

@@ -12,8 +12,9 @@
CheckIfDoorsOpen: {
jsr TrapDoorFixer ; see normal.asm
; note we are 16bit mode right now
lda $040c : cmp #$00ff : bne .gtg
lda $a0 : dec : tax : and #$000f ; hijacked code
lda DRMode : beq +
lda $040c : cmp #$00ff : bne .gtg
+ lda $a0 : dec : tax : and #$000f ; hijacked code
sec : rtl ; set carry to indicate normal behavior
.gtg