Fixed a low-end rendering bug in progress bar

This commit is contained in:
blondie7575 2023-07-17 20:44:46 -07:00
parent 0ee3e558b6
commit 76cf1068be
2 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ setProgressBar:
; ;
renderProgressBar: renderProgressBar:
SAVE_AXY SAVE_AXY
ldy #2 ; Room for left and right borders ldy #0
ldx currentProgressBar+CBR_VRAM ldx currentProgressBar+CBR_VRAM
BITS8A BITS8A
@ -126,7 +126,7 @@ CBR_VRAM = 6
currentProgressBar: currentProgressBar:
.word 0 ; Active .word 0 ; Active
.word 0 ; Current progress in bytes .word 1 ; Current progress in bytes
.word 25 ; Final progress in bytes .word 25 ; Final progress in bytes
.word $2117 ; VRAM position (top left) .word $2117 ; VRAM position (top left)

View File

@ -94,7 +94,7 @@ projectileTypes:
PT_FAN = 2 PT_FAN = 2
; Spit ; Spit
.word 3 ; Damage .word 4 ; Damage
.word 3 ; Crater radius .word 3 ; Crater radius
.word 4 ; Frame 0 .word 4 ; Frame 0
.word 6 ; Frame 1 .word 6 ; Frame 1