diff --git a/hooks.asm b/hooks.asm index 5472051..9f34e18 100755 --- a/hooks.asm +++ b/hooks.asm @@ -2386,6 +2386,8 @@ MirrorBonk_BranchGamma: JML.l OWMirrorSpriteMove org $02FBAB JSL.l OWMirrorSpriteRestore : NOP +org $0ABFBF +JSL.l OWMirrorSpriteOnMap : BRA + : NOP #6 : + ;================================================================================ ;================================================================================ diff --git a/owrando.asm b/owrando.asm index 27cf3aa..2ada715 100644 --- a/owrando.asm +++ b/owrando.asm @@ -196,6 +196,16 @@ OWWhirlpoolUpdate: rtl } +OWMirrorSpriteOnMap: +{ + lda $1ac0,x : bit #$f0 : beq .continue + lda #$00 : rtl + .continue + ora $1ab0,x + ora $1ad0,x + ora $1ae0,x + rtl +} OWPreserveMirrorSprite: { lda.l OWMode+1 : and.b #!FLAG_OW_CROSSED : beq .vanilla ; if OW Crossed, skip world check and continue