Fixed issue with waterwalking in Crossed

This commit is contained in:
codemann8
2021-08-21 15:16:21 -05:00
parent 11be05c65a
commit aed1506114

View File

@@ -348,12 +348,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 #$04 : beq + ; if swimming, continue
stz $5d
+ stz $02e0 : stz $56
.return
lda $05 : sta $8a