Remove hardedcoded warp hiding rocks from light world

(Thanks to Zarby)
This commit is contained in:
Kevin Cathcart
2018-09-12 21:23:55 -04:00
parent f7faaea7f7
commit 01219ef6a9
2 changed files with 19 additions and 0 deletions

View File

@@ -262,6 +262,11 @@ org $08CDAE ; <- ancilla_break_tower_seal.asm : 117 (LDA.b #$05 : STA $04C6)
JSL GanonTowerAnimation
NOP #03
;--------------------------------------------------------------------------------
org $02EC8D ; <- bank02.asm : 11981 (LDA.w #$020F : LDX $8A : CPX.w #$0033 : BNE .noRock)
JSL HardcodedRocks
NOP #19 ;23 bytes removed with the JSL
;--------------------------------------------------------------------------------
;================================================================================
; Hash Key Display

View File

@@ -158,3 +158,17 @@ GanonTowerAnimation:
LDA.b #$05 : STA $04C6 ;what we wrote over
STZ $B0 ; (continued)
RTL
;Hard coded rock removed in LW for Inverted mode
HardcodedRocks:
LDA InvertedMode : BEQ .normalrocks
BRA .noRock2
.normalrocks
LDA.w #$020F : LDX $8A : CPX.w #$0033 : BNE .noRock
STA $7E22A8
.noRock
CPX.w #$002F : BNE .noRock2
STA $7E2BB2
.noRock2
RTL