Add support for swords in swordless mode to the rom (does nothing without vt-randomizer changes)

This commit is contained in:
EmoSaru
2018-08-19 13:04:26 -07:00
parent 5a6935ca63
commit a34bbcacb3
4 changed files with 15 additions and 2 deletions

View File

@@ -122,6 +122,13 @@ CheckTabletSword:
LDA $7EF359 ; get actual sword value
RTL
;================================================================================
GetSwordLevelForEvilBarrier:
LDA.l AllowHammerEvilBarrierWithFighterSword : BEQ +
LDA #$FF : RTL
+
LDA $7EF359
RTL
;================================================================================
CheckGanonHammerDamage:
LDA.l HammerableGanon : BEQ +
LDA $0E20, X : CMP.b #$D8 ; original behavior except ganon