Merge pull request #15 from spannerisms/master

Quadrant glitch fix
This commit is contained in:
aerinon
2021-10-21 16:09:45 -06:00
committed by GitHub
2 changed files with 11 additions and 15 deletions

View File

@@ -198,8 +198,17 @@ RTL
;--------------------------------------------------------------------------------
OnLinkDamagedFromPit:
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:
JML.l OHKOTimer ; make sure this is last