Inverted fix - no longer a bunny in DW sanc

Standard fix - can't kill Aga1 before rescuing Zelda
Total locations to check set on file load, and displayed in HUD
This commit is contained in:
aerinon
2021-02-16 13:36:44 -07:00
parent d15dc91db4
commit 9d607b7caa
5 changed files with 26 additions and 4 deletions

View File

@@ -142,3 +142,10 @@ RainPrevention:
PLA : LDA #$0008 : RTL
.done PLA : RTL
; A should be how much dmg to do to Aga when leaving this function
StandardAgaDmg:
LDX.b #$00 ; part of what we wrote over
LDA.l $7EF3C6 : AND #$04 : BEQ + ; zelda's not been rescued
LDA.b #$10 ; hurt him!
+ RTL ; A is zero if the AND results in zero and then Agahnim's invincible!