Play SFX on crossworld transition in Crossed OW

This commit is contained in:
codemann8
2021-08-25 02:22:21 -05:00
parent 0f8efed663
commit 151506d130
3 changed files with 5 additions and 3 deletions

2
Rom.py
View File

@@ -33,7 +33,7 @@ from source.classes.SFX import randomize_sfx
JAP10HASH = '03a63945398191337e896e5771f77173'
RANDOMIZERBASEHASH = '261aa02eb4ee7e56e626361f170de5f4'
RANDOMIZERBASEHASH = 'df12af8b5970ecc392b29b45595d9351'
class JsonRom(object):

View File

@@ -342,10 +342,12 @@ 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 $7ef357 : bne .nobunny
lda.l InvertedMode : bne .inverted
lda $7ef3ca : and.b #$40 : bra +
.inverted lda $7ef3ca : and.b #$40 : eor #$40

Binary file not shown.