Initialize overworld door frame data when starting in single-exit cave

This commit is contained in:
cassidoxa
2022-01-13 15:51:50 -05:00
parent 6d72a1a9c2
commit 1d378211ba

View File

@@ -124,10 +124,10 @@ AllowStartFromSingleEntranceCave:
STZ $0699 ;zero out door overlays in case starting overworld door is not set
SEP #$20 ; set 8-bit accumulator
LDX $00
LDA $7EF3C8 : TAX
LDA.l StartingAreaOverworldDoor, X : STA.l $7F5099 ;Load overworld door
REP #$20 ; reset 16-bit accumulator
JSL.l CacheDoorFrameData
.done
PLA