Fix mirror portals getting erased when changing worlds
This commit is contained in:
@@ -149,7 +149,10 @@ OWPreserveMirrorSprite:
|
|||||||
lda.l OWMode+1 : and.b #!FLAG_OW_CROSSED : beq .vanilla
|
lda.l OWMode+1 : and.b #!FLAG_OW_CROSSED : beq .vanilla
|
||||||
rtl ; if OW Crossed, skip world check and continue
|
rtl ; if OW Crossed, skip world check and continue
|
||||||
.vanilla
|
.vanilla
|
||||||
lda $7ef3ca : bne .deleteMirror
|
lda InvertedMode : beq +
|
||||||
|
lda $7ef3ca : beq .deleteMirror
|
||||||
|
rtl
|
||||||
|
+ lda $7ef3ca : bne .deleteMirror
|
||||||
rtl
|
rtl
|
||||||
|
|
||||||
.deleteMirror
|
.deleteMirror
|
||||||
|
|||||||
Reference in New Issue
Block a user