Write macro for SRAM assertions

Change some label names to be clearer
Fix some of the progress flags and dungeon bitfields
This commit is contained in:
cassidy
2021-12-14 12:59:05 -05:00
parent 15d88b19a3
commit 6c9b33ed93
11 changed files with 243 additions and 240 deletions

View File

@@ -12,7 +12,7 @@ RTL
;--------------------------------------------------------------------------------
CheckFullHealth:
LDA BigFairyHealth : BEQ +
LDA CurrentHealth : CMP HealthCapacity : BNE .player_hp_not_full_yet
LDA CurrentHealth : CMP MaximumHealth : BNE .player_hp_not_full_yet
+
LDA BigFairyMagic : BEQ +
LDA CurrentMagic : CMP.b #$80 : BNE .player_mp_not_full_yet