only allow bunny hood speed when mask is active

This commit is contained in:
scawful
2024-06-09 21:52:41 -04:00
parent e3478ddf13
commit 92c627b149

View File

@@ -63,7 +63,7 @@ LinkState_BunnyHoodRun:
CPX.b #$11 : BCS .end ; speed value upper bound check
LDA.w $0202 ; check the current item
CMP.b #$16 : BNE .end ; is it the bunny hood?
LDA.w !CurrentMask : BEQ .end
LDA.w !CurrentMask : CMP.b #$04 : BNE .end
LDA.l BunnySpeedTable, X ; load new speed values
CLC
RTL