Fix counters for damage taken and magic used

This commit is contained in:
2021-07-23 00:07:51 -07:00
parent bfbe3fbcc0
commit 8e12033105

View File

@@ -122,7 +122,13 @@
;--------------------------------------------------------------------------------
; $7EF4A0 - 7EF4A7 - Service Request
;--------------------------------------------------------------------------------
; $7EF4A8 - 7EF4AF - Free space
; $7EF4A8 - 7EF4A9 - Free space
;--------------------------------------------------------------------------------
; $7EF4AAw[2] - damage taken
;--------------------------------------------------------------------------------
; $7EF4ACw[2] - magic used
;--------------------------------------------------------------------------------
; $7EF4AE - 7EF4AF - Free space
;--------------------------------------------------------------------------------
; $7EF4B0 - 7EF4BF - Absorbed keys, indexed by 040C >> 1
;--------------------------------------------------------------------------------
@@ -368,8 +374,8 @@ IncrementBigChestCounter:
PLA
RTL
;--------------------------------------------------------------------------------
!DAMAGE_COUNTER = $7EF46A
!MAGIC_COUNTER = $7EF46C
!DAMAGE_COUNTER = $7EF4AA
!MAGIC_COUNTER = $7EF4AC
IncrementDamageTakenCounter_Eight:
STA.l $7EF36D
PHA : PHP