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

View File

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