From fe24f6f865bad9fc41f50f6e158db06d37a4abff Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 25 Aug 2021 02:21:56 -0500 Subject: [PATCH] Play SFX on crossworld transition in Crossed OW --- owrando.asm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/owrando.asm b/owrando.asm index c258f1e..74b3f24 100644 --- a/owrando.asm +++ b/owrando.asm @@ -339,10 +339,11 @@ OWNewDestination: ; crossed OW shuffle LDA.l OWMode+1 : AND.b #!FLAG_OW_CROSSED : beq .return - ldx $05 : lda.l OWTileWorldAssoc,x : sta.l $7ef3ca ; change world + ldx $05 : lda.l OWTileWorldAssoc,x : cmp.l $7ef3ca : beq + + sta.l $7ef3ca ; change world + lda #$38 : sta $012f ; play sfx - #$3b is an alternative ; toggle bunny mode - lda $7ef357 : bne .nobunny lda.l InvertedMode : bne .inverted lda $7ef3ca : and.b #$40 : bra + .inverted lda $7ef3ca : and.b #$40 : eor #$40