From 8e12033105b5b3db4eeb59b1cd612220c6d55f93 Mon Sep 17 00:00:00 2001 From: Kara Alexandra Date: Fri, 23 Jul 2021 00:07:51 -0700 Subject: [PATCH] Fix counters for damage taken and magic used --- stats.asm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/stats.asm b/stats.asm index d793f20..846355d 100644 --- a/stats.asm +++ b/stats.asm @@ -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