Merge pull request #19 from cassidoxa/keyfix

Fix key door indexing
This commit is contained in:
aerinon
2022-04-30 15:17:59 -06:00
committed by GitHub

View File

@@ -27,7 +27,7 @@ CheckIfDoorsOpen: {
lda.w PairedDoorTable, x : beq .skipDoor
sta $02 : and #$00ff : asl a : tax
lda $02 : and #$ff00 : sta $03
lda RoomDataWRAM[$00].l : and #$f000 : and $03 : beq .skipDoor
lda RoomDataWRAM.l, X : and #$f000 : and $03 : beq .skipDoor
tyx : lda $068c : ora $0098c0,x : sta $068c
.skipDoor
iny #2 : cpy $00 : bne .nextDoor