Stats: Track chest turns

This commit is contained in:
Bonta
2021-06-22 02:31:52 +02:00
parent 14844400b3
commit cc12372627
3 changed files with 18 additions and 2 deletions

View File

@@ -234,6 +234,11 @@ PostItemAnimation:
LDA.b #$00 : STA $7F509F
+
LDA.w $02E9 : CMP.b #$01 : BNE +
LDA.b $2F : BEQ +
JSL.l IncrementChestTurnCounter
+
STZ $02E9 : LDA $0C5E, X ; thing we wrote over to get here
RTL
;--------------------------------------------------------------------------------