Merge pull request #131 from Bonta0/chestturns

Credits: Add chest turns counter
This commit is contained in:
KatDevsGames
2021-06-28 11:47:01 -05:00
committed by GitHub
5 changed files with 32 additions and 12 deletions

View File

@@ -237,6 +237,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
;--------------------------------------------------------------------------------