ootw: intro: fade in DNA

should be slower, but not sure if I care enough to fix it
This commit is contained in:
Vince Weaver 2019-02-18 13:26:10 -05:00
parent 8ba4f9956b
commit d2eb55029f
2 changed files with 18 additions and 4 deletions

View File

@ -1,8 +1,5 @@
TODO:
Intro:
gradually fade in DNA
general:
+ move gr_make_quake out of gr_copy

View File

@ -21,7 +21,7 @@ intro:
lda #0
sta DISP_PAGE
jmp peanutos
jmp scanner
;===============================
;===============================
@ -2160,9 +2160,26 @@ draw_dna_loop:
adc #4
sta DNA_COUNT
; for DNA_PROGRESS 0,2,4,6,8,10,12 we only want to print
; first X lines (gradually fade in)
; after that, draw the whole thing
lda DNA_PROGRESS
cmp #14
bpl dna_full
asl
cmp DNA_COUNT
bpl draw_dna_loop
bmi dna_full_done
dna_full:
lda DNA_COUNT
cmp #28
bne draw_dna_loop
dna_full_done:
inc DNA_PROGRESS
inc DNA_PROGRESS