Retain Link state on transition in Crossed OW unless bunny
This commit is contained in:
2
Rom.py
2
Rom.py
@@ -33,7 +33,7 @@ from source.classes.SFX import randomize_sfx
|
|||||||
|
|
||||||
|
|
||||||
JAP10HASH = '03a63945398191337e896e5771f77173'
|
JAP10HASH = '03a63945398191337e896e5771f77173'
|
||||||
RANDOMIZERBASEHASH = '363c49821f25327f10bc200c98375bde'
|
RANDOMIZERBASEHASH = '261aa02eb4ee7e56e626361f170de5f4'
|
||||||
|
|
||||||
|
|
||||||
class JsonRom(object):
|
class JsonRom(object):
|
||||||
|
|||||||
@@ -351,12 +351,15 @@ OWNewDestination:
|
|||||||
.inverted lda $7ef3ca : and.b #$40 : eor #$40
|
.inverted lda $7ef3ca : and.b #$40 : eor #$40
|
||||||
+ cmp #$40 : bne .nobunny
|
+ cmp #$40 : bne .nobunny
|
||||||
; turn into bunny
|
; turn into bunny
|
||||||
lda #$17 : sta $5d
|
lda $5d : cmp #$04 : beq + ; if swimming, continue
|
||||||
lda #$01 : sta $02e0 : sta $56
|
lda #$17 : sta $5d
|
||||||
|
+ lda #$01 : sta $02e0 : sta $56
|
||||||
bra .return
|
bra .return
|
||||||
|
|
||||||
.nobunny
|
.nobunny
|
||||||
stz $5d : stz $02e0 : stz $56
|
lda $5d : cmp #$17 : bne + ; retain current state unless bunny
|
||||||
|
stz $5d
|
||||||
|
+ stz $02e0 : stz $56
|
||||||
|
|
||||||
.return
|
.return
|
||||||
lda $05 : sta $8a
|
lda $05 : sta $8a
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user