per feedback

This commit is contained in:
sporchia
2018-09-25 22:30:06 -04:00
parent 1a6478aa27
commit 8f289c8e0a
2 changed files with 4 additions and 2 deletions

View File

@@ -12,8 +12,10 @@ LockAgahnimDoors:
JSR.w LockAgahnimDoorsCore : RTL JSR.w LockAgahnimDoorsCore : RTL
+ : CMP.w #$0002 : BNE + + : CMP.w #$0002 : BNE +
JSR.w LockAgahnimDoorsCore : BEQ .unlock JSR.w LockAgahnimDoorsCore : BEQ .unlock
SEP #$30
JSL.l CheckEnoughCrystals : BEQ .crystalOrUnlock ; I think the registers might be wrong for this JSL.l CheckEnoughCrystals : BEQ .crystalOrUnlock ; I think the registers might be wrong for this
LDA #$0001 : RTL REP #$30
LDA #$0001 : RTL
.crystalOrUnlock .crystalOrUnlock
LDA InvertedMode : AND.w #$00FF : BEQ .unlock LDA InvertedMode : AND.w #$00FF : BEQ .unlock

View File

@@ -48,7 +48,7 @@ CheckGanonVulnerability:
BRA .success BRA .success
+ : CMP #$06 : BNE + + : CMP #$06 : BNE +
;#$06 = Require "NumberOfCrystalsRequired" Crystals ;#$06 = Require "NumberOfCrystalsRequired" Crystals
JSR CheckEnoughCrystals : BNE .fail JSR CheckEnoughCrystals : BCC .fail
BRA .success BRA .success
+ +
.fail : CLC : RTL .fail : CLC : RTL