From 959f5ce5ab7f088bdf8470cec8f093c19c335576 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Wed, 27 Jul 2022 17:53:15 -0500 Subject: [PATCH] Fixed all goals requiring Aga2 to look at the Aga2 boss flag instead of pyramid hole --- goalitem.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/goalitem.asm b/goalitem.asm index 9d112f8..3eafaea 100644 --- a/goalitem.asm +++ b/goalitem.asm @@ -67,12 +67,12 @@ CheckGanonVulnerability: .all_dungeons_no_agahnim LDA.l PendantsField : AND.b #$07 : CMP.b #$07 : BNE .fail ; require all pendants LDA.l CrystalsField : AND.b #$7F : CMP.b #$7F : BNE .fail ; require all crystals - LDA.l OverworldEventDataWRAM+$5B : AND.b #$20 : BEQ .fail ; require aga2 defeated (pyramid hole open) + LDA RoomDataWRAM[$0D].high : AND.b #$08 : BEQ .fail ; require aga2 defeated (pyramid hole open) BRA .success ; 03 = crystals and aga 2 .crystals_and_aga - LDA.l OverworldEventDataWRAM+$5B : AND.b #$20 : BEQ .fail ; check aga2 first then bleed in + LDA RoomDataWRAM[$0D].high : AND.b #$08 : BEQ .fail ; check aga2 first then bleed in ; 04 = crystals only .crystals