Fixed mirror sprite shown on map check in Crossed OWR

This commit is contained in:
codemann8
2023-10-01 06:11:27 -05:00
parent f3b2719a5b
commit 47ce48a31a

View File

@@ -61,6 +61,8 @@ Sprite_6C_MirrorPortal:
jsl OWMirrorSpriteDisable ; LDA $7EF3CA jsl OWMirrorSpriteDisable ; LDA $7EF3CA
org $05AFDF org $05AFDF
Sprite_6C_MirrorPortal_missing_mirror: Sprite_6C_MirrorPortal_missing_mirror:
org $0ABFB6
jsl OWMirrorSpriteOnMap : NOP ; LDA.w $008A : CMP.b #$40
; whirlpool shuffle cross world change ; whirlpool shuffle cross world change
org $02b3bd org $02b3bd
@@ -252,6 +254,13 @@ OWDestroyItemSprites:
DEX : BPL .nextSprite DEX : BPL .nextSprite
PLX : RTL PLX : RTL
} }
OWMirrorSpriteOnMap:
{
JSL OWWorldCheck
CMP.b #$40 ; part of what we wrote over
RTL
}
OWMirrorSpriteDisable: OWMirrorSpriteDisable:
{ {
LDA.b $10 : CMP.b #$0F : BEQ + ; avoid rare freeze during mirror superbunny LDA.b $10 : CMP.b #$0F : BEQ + ; avoid rare freeze during mirror superbunny