add byrna/cape magic tracking

This commit is contained in:
spannerisms
2021-07-04 05:21:48 -04:00
parent 00c59c791f
commit 270f0685ff
2 changed files with 18 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ CalculateByrnaUsage:
PLX
++
LDA $7EF36E ; thing we wrote over
RTL
JML IncrementMagicUseCounterByrna
;--------------------------------------------------------------------------------
CalculateCapeUsage:
LDA $1B : BEQ ++
@@ -51,8 +51,7 @@ CalculateCapeUsage:
LDA.l HardModeExclusionCapeUsage, X : STA $4C ; set cape decrement timer
PLX
++
LDA $7EF36E ; thing we wrote over
RTL
JML IncrementMagicUseCounterOne
;--------------------------------------------------------------------------------
ActivateInvulnerabilityOrDont:
LDA $1B : BEQ .nowhere_special