Holy crap this is so stupid

This commit is contained in:
Smallhacker
2018-03-11 20:38:53 +01:00
parent 9225f83608
commit faa9841835

View File

@@ -826,13 +826,22 @@ ParadoxCaveGfxFix:
;Ignore uploading four specific lines of tiles to VRAM
LDX $0118
CPX #$1800 : BEQ .skipLine
CPX #$1A00 : BEQ .skipLine
; Line 1
CPX #$1800 : BEQ .skipMostOfLine
; Line 2
CPX #$1A00 : BEQ .skipMostOfLine
; Line 3
CPX #$1C00 : BEQ .skipLine
; Line 4
CPX #$1E00 : BEQ .skipLine
.uploadLine
LDA.b #$01 : STA $420B
.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