Add check if agahnim 2 has been defeated for ganon invincibility.

This commit is contained in:
LLCoolDave
2017-07-17 20:25:03 +02:00
parent 6526a1f1f9
commit 3ce23cbb67

View File

@@ -50,10 +50,12 @@ CheckGanonVulnerability:
LDA $7EF374 : AND.b #$07 : CMP #$07 : BNE .fail ; require all pendants
LDA $7EF37A : AND.b #$7F : CMP #$7F : BNE .fail ; require all crystals
LDA $7EF3C5 : CMP.b #$03 : !BLT .fail ; require post-aga world state
LDA $7EF2DB : AND.b #$20 : BNE .fail ; require aga2 defeated (pyramid hole open)
BRA .success
+ ; CMP #$03 : BNE + this is a comment
;#$03 = Require All Crystals
LDA $7EF37A : AND.b #$7F : CMP #$7F : BNE .fail ; require all crystals
LDA $7EF2DB : AND.b #$20 : BNE .fail ; require aga2 defeated (pyramid hole open)
BRA .success
+
.fail : CLC : RTL