Merge pull request #143 from spannerisms/master

fix quadrant glitch hopefully
This commit is contained in:
KatDevsGames
2021-08-10 15:13:32 -05:00
committed by GitHub
2 changed files with 21 additions and 1 deletions

View File

@@ -2725,3 +2725,16 @@ org $0AEEF2
org $008BE5 ; hijack stripes for boss GFX transfer
JSL DoDungeonMapBossIcon
;================================================================================
; Fix quadrant glitch
org $07A879
JSR SwordSpinQuadrantFix
org $07F877 ; free rom
SwordSpinQuadrantFix:
LDA.l AllowQuadrantGlitch
BEQ ++
JMP.w $07E8D9 ; HandleIndoorCameraAndDoors
++ RTS

View File

@@ -1082,8 +1082,15 @@ db $00, $00, $00, $00, $00, $00, $00, $00
org $308350 ; PC 0x180350
ShouldStartatExit:
db $00, $00, $00
;--------------------------------------------------------------------------------
; $308358 (0x180358) fixes quadrant glitch
; 0x00 - fix
; otherwise dont fix quadrant glitch
org $308358
AllowQuadrantGlitch:
db $00
;================================================================================
; 0x180350 - 0x1814FF (unused)
; 0x180359 - 0x1814FF (unused)
;================================================================================
; $309500 (0x181500) - $309FFF (0x181FFF) original 0x39C bytes
; Replacement Ending Sequence Text Data