only allow bunny hood speed when mask is active
This commit is contained in:
@@ -63,7 +63,7 @@ LinkState_BunnyHoodRun:
|
|||||||
CPX.b #$11 : BCS .end ; speed value upper bound check
|
CPX.b #$11 : BCS .end ; speed value upper bound check
|
||||||
LDA.w $0202 ; check the current item
|
LDA.w $0202 ; check the current item
|
||||||
CMP.b #$16 : BNE .end ; is it the bunny hood?
|
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
|
LDA.l BunnySpeedTable, X ; load new speed values
|
||||||
CLC
|
CLC
|
||||||
RTL
|
RTL
|
||||||
|
|||||||
Reference in New Issue
Block a user