Retain Link state on transition in Crossed OW unless bunny

This commit is contained in:
codemann8
2021-08-21 18:19:57 -05:00
parent 3da44b6b94
commit d1b0b57d53
3 changed files with 7 additions and 4 deletions

2
Rom.py
View File

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

View File

@@ -351,12 +351,15 @@ OWNewDestination:
.inverted lda $7ef3ca : and.b #$40 : eor #$40
+ cmp #$40 : bne .nobunny
; turn into bunny
lda #$17 : sta $5d
lda #$01 : sta $02e0 : sta $56
lda $5d : cmp #$04 : beq + ; if swimming, continue
lda #$17 : sta $5d
+ lda #$01 : sta $02e0 : sta $56
bra .return
.nobunny
stz $5d : stz $02e0 : stz $56
lda $5d : cmp #$17 : bne + ; retain current state unless bunny
stz $5d
+ stz $02e0 : stz $56
.return
lda $05 : sta $8a

Binary file not shown.