Holy crap this is so stupid
This commit is contained in:
@@ -826,13 +826,22 @@ ParadoxCaveGfxFix:
|
|||||||
|
|
||||||
;Ignore uploading four specific lines of tiles to VRAM
|
;Ignore uploading four specific lines of tiles to VRAM
|
||||||
LDX $0118
|
LDX $0118
|
||||||
CPX #$1800 : BEQ .skipLine
|
; Line 1
|
||||||
CPX #$1A00 : BEQ .skipLine
|
CPX #$1800 : BEQ .skipMostOfLine
|
||||||
|
; Line 2
|
||||||
|
CPX #$1A00 : BEQ .skipMostOfLine
|
||||||
|
; Line 3
|
||||||
CPX #$1C00 : BEQ .skipLine
|
CPX #$1C00 : BEQ .skipLine
|
||||||
|
; Line 4
|
||||||
CPX #$1E00 : BEQ .skipLine
|
CPX #$1E00 : BEQ .skipLine
|
||||||
|
|
||||||
.uploadLine
|
.uploadLine
|
||||||
LDA.b #$01 : STA $420B
|
LDA.b #$01 : STA $420B
|
||||||
|
|
||||||
.skipLine
|
.skipLine
|
||||||
RTL
|
RTL
|
||||||
|
|
||||||
|
.skipMostOfLine
|
||||||
|
; Set line length to 192 bytes (the first 6 8x8 tiles in the line)
|
||||||
|
LDX.w #$00C0 : STX $4305
|
||||||
|
BRA .uploadLine
|
||||||
Reference in New Issue
Block a user