diff --git a/goalitem.asm b/goalitem.asm index 7823cba..b7d55df 100644 --- a/goalitem.asm +++ b/goalitem.asm @@ -52,8 +52,12 @@ CheckGanonVulnerability: LDA $7EF3C5 : CMP.b #$03 : !BLT .fail ; require post-aga world state LDA $7EF2DB : AND.b #$20 : CMP #$20 : BNE .fail ; require aga2 defeated (pyramid hole open) BRA .success + + : CMP #$04 : BNE + + ;#$04 = Require All Crystals + LDA $7EF37A : AND.b #$7F : CMP #$7F : BNE .fail ; require all crystals + BRA .success + ; CMP #$03 : BNE + this is a comment - ;#$03 = Require All Crystals + ;#$03 = Require All Crystals and Aga 2 LDA $7EF37A : AND.b #$7F : CMP #$7F : BNE .fail ; require all crystals LDA $7EF2DB : AND.b #$20 : CMP #$20 : BNE .fail ; require aga2 defeated (pyramid hole open) BRA .success diff --git a/tables.asm b/tables.asm index 9f72b49..1ab3e99 100644 --- a/tables.asm +++ b/tables.asm @@ -139,7 +139,9 @@ db #$00 ; #$00 = Off (default) - #$01 = On ;-------------------------------------------------------------------------------- org $30803E ; PC 0x18003E InvincibleGanon: -db #$00 ; #$00 = Off (default) - #$01 = On - #$02 = Require All Dungeons +db #$00 +; #$00 = Off (default) - #$01 = On - #$02 = Require All Dungeons +; #$03 = Require Crystals and Aga2 - #$04 = Require Crystals ;-------------------------------------------------------------------------------- org $30803F ; PC 0x18003F HammerableGanon: