Fix issue with mirror portals showing up on map checks when they shouldn't
This commit is contained in:
@@ -2386,6 +2386,8 @@ MirrorBonk_BranchGamma:
|
|||||||
JML.l OWMirrorSpriteMove
|
JML.l OWMirrorSpriteMove
|
||||||
org $02FBAB
|
org $02FBAB
|
||||||
JSL.l OWMirrorSpriteRestore : NOP
|
JSL.l OWMirrorSpriteRestore : NOP
|
||||||
|
org $0ABFBF
|
||||||
|
JSL.l OWMirrorSpriteOnMap : BRA + : NOP #6 : +
|
||||||
;================================================================================
|
;================================================================================
|
||||||
|
|
||||||
;================================================================================
|
;================================================================================
|
||||||
|
|||||||
10
owrando.asm
10
owrando.asm
@@ -196,6 +196,16 @@ OWWhirlpoolUpdate:
|
|||||||
rtl
|
rtl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
OWMirrorSpriteOnMap:
|
||||||
|
{
|
||||||
|
lda $1ac0,x : bit #$f0 : beq .continue
|
||||||
|
lda #$00 : rtl
|
||||||
|
.continue
|
||||||
|
ora $1ab0,x
|
||||||
|
ora $1ad0,x
|
||||||
|
ora $1ae0,x
|
||||||
|
rtl
|
||||||
|
}
|
||||||
OWPreserveMirrorSprite:
|
OWPreserveMirrorSprite:
|
||||||
{
|
{
|
||||||
lda.l OWMode+1 : and.b #!FLAG_OW_CROSSED : beq .vanilla ; if OW Crossed, skip world check and continue
|
lda.l OWMode+1 : and.b #!FLAG_OW_CROSSED : beq .vanilla ; if OW Crossed, skip world check and continue
|
||||||
|
|||||||
Reference in New Issue
Block a user