Initialize overworld door frame data when starting in single-exit cave
This commit is contained in:
@@ -124,10 +124,10 @@ AllowStartFromSingleEntranceCave:
|
|||||||
STZ $0699 ;zero out door overlays in case starting overworld door is not set
|
STZ $0699 ;zero out door overlays in case starting overworld door is not set
|
||||||
|
|
||||||
SEP #$20 ; set 8-bit accumulator
|
SEP #$20 ; set 8-bit accumulator
|
||||||
LDX $00
|
LDA $7EF3C8 : TAX
|
||||||
LDA.l StartingAreaOverworldDoor, X : STA.l $7F5099 ;Load overworld door
|
LDA.l StartingAreaOverworldDoor, X : STA.l $7F5099 ;Load overworld door
|
||||||
|
|
||||||
REP #$20 ; reset 16-bit accumulator
|
REP #$20 ; reset 16-bit accumulator
|
||||||
|
JSL.l CacheDoorFrameData
|
||||||
|
|
||||||
.done
|
.done
|
||||||
PLA
|
PLA
|
||||||
|
|||||||
Reference in New Issue
Block a user