Merge branch 'DRMain' into DRVolatile

This commit is contained in:
aerinon
2021-10-21 16:35:09 -06:00
2 changed files with 11 additions and 15 deletions

View File

@@ -198,8 +198,17 @@ RTL
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
OnLinkDamagedFromPit: OnLinkDamagedFromPit:
JSL.l OHKOTimer JSL.l OHKOTimer
LDA.b #$14 : STA $11 ; thing we wrote over
RTL LDA.l AllowAccidentalMajorGlitch
BEQ ++
-- LDA.b #$14 : STA $11 ; thing we wrote over
RTL
++ LDA.b $10 : CMP.b #$12 : BNE --
STZ.b $11
RTL
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
OnLinkDamagedFromPitOutdoors: OnLinkDamagedFromPitOutdoors:
JML.l OHKOTimer ; make sure this is last JML.l OHKOTimer ; make sure this is last

View File

@@ -2791,19 +2791,6 @@ org $0AEEF2
org $008BE5 ; hijack stripes for boss GFX transfer org $008BE5 ; hijack stripes for boss GFX transfer
JSL DoDungeonMapBossIcon JSL DoDungeonMapBossIcon
;================================================================================
; Fix quadrant glitch
org $07A879
JSR SwordSpinQuadrantFix
org $07F877 ; free rom
SwordSpinQuadrantFix:
LDA.l AllowAccidentalMajorGlitch
BEQ ++
JMP.w $07E8D9 ; HandleIndoorCameraAndDoors
++ RTS
;================================================================================ ;================================================================================
org $01C4B8 : JSL FixJingleGlitch org $01C4B8 : JSL FixJingleGlitch