Fix swim state when leaving Hobo area

This commit is contained in:
Catobat
2023-02-24 13:14:19 +01:00
parent 3f13cee945
commit aa5c3b63a2

View File

@@ -608,6 +608,7 @@ OWEdgeTransition:
}
OWSpecialExit:
{
LDA.l OWMode : ORA.l OWMode+1 : BEQ .vanilla
PHY
LDY.b #$00
LDA.w $0418 : LSR : BNE +
@@ -618,6 +619,7 @@ OWSpecialExit:
++
JSR OWWorldTerrainUpdate
PLY
.vanilla
LDA.l $7EFD40,X ; what we wrote over
RTL
}