fix follower disappearing outside bug

This commit is contained in:
scawful
2024-07-11 12:54:34 -04:00
parent 9f426e6f64
commit a4cf2c69bf

View File

@@ -119,16 +119,18 @@ ZoraBaby_RevertToSprite:
CheckForZoraBabyTransitionToSprite: CheckForZoraBabyTransitionToSprite:
{ {
; If we are standing on a star tile LDA.l $7EF3CC : CMP.b #$09 : BNE .not_zora
LDA.w $0114 : CMP.b #$3B : BNE + ; If we are standing on a star tile
LDA.b #$00 LDA.w $0114 : CMP.b #$3B : BNE +
JSR ZoraBaby_RevertToSprite LDA.b #$00
+ JSR ZoraBaby_RevertToSprite
+
; If we are outdoors, clear the follower ; If we are outdoors, clear the follower
LDA.b $1B : BNE + LDA.b $1B : BNE +
LDA.b #$00 : STA.l $7EF3CC LDA.b #$00 : STA.l $7EF3CC
+ +
.not_zora
LDX.b $10 LDX.b $10
LDY.b $11 LDY.b $11
RTL RTL