Fix for rain prevented doors and key door numbering

This commit is contained in:
aerinon
2022-09-07 16:51:29 -06:00
parent 0e15eb3560
commit 9cdca6edb3

View File

@@ -132,7 +132,7 @@ RainPrevention:
- INX #2 : LDA.l RemoveRainDoorsRoom, X : CMP #$FFFF : BEQ .done - INX #2 : LDA.l RemoveRainDoorsRoom, X : CMP #$FFFF : BEQ .done
CMP $A0 : BNE - CMP $A0 : BNE -
SEP #$20 : LDA.l RainDoorMatch, X : CMP $00 : BNE .continue SEP #$20 : LDA.l RainDoorMatch, X : CMP $00 : BNE .continue
REP #$20 : PLA : SEC : RTL INC.w $0460 : INC.w $0460 : REP #$20 : PLA : SEC : RTL
.continue .continue
REP #$20 : BRA - REP #$20 : BRA -
.done PLA : CLC : RTL .done PLA : CLC : RTL