riven: update cyan graphics

urgh it's just slightly too big which is a shame because it looks nice
This commit is contained in:
Vince Weaver 2024-07-03 01:19:31 -04:00
parent 65de6dc66d
commit 3ab1d0bd7c
2 changed files with 58 additions and 30 deletions

View File

@ -6,7 +6,9 @@
.include "../hardware.inc"
.include "../qload.inc"
NUM_SCENES = 18
.include "disk00_defines.inc"
NUM_SCENES = 20
;===================
; notes for cyan opening
@ -35,17 +37,6 @@ cyan_opener:
;===============================
cyan_loop:
; clear bottom text
; jsr clear_bottom
; show full screen for last image (book)
; lda SCENE_COUNT
; cmp #10
; bne not_at_end
; bit FULLGR
;not_at_end:
; decompress graphics
@ -58,11 +49,13 @@ cyan_loop:
lda #$20 ; hgr page1
jsr full_decomp
ldx #10
jsr wait_50xms
; exit early if keypress
wait_for_key:
lda KEYPRESS
bpl wait_for_key
bit KEYRESET
bmi early_exit
inc SCENE_COUNT
@ -71,6 +64,29 @@ wait_for_key:
bne cyan_loop
early_exit:
bit KEYRESET
; ldy #4
lurk_at_logo:
; ldx #10
; jsr wait_50xms
; lda KEYPRESS
; bmi really_exit
; dey
; bpl lurk_at_logo
; bit KEYRESET
really_exit:
lda #LOAD_ATRUS
sta WHICH_LOAD
lda #$1
sta LEVEL_OVER
rts
@ -82,20 +98,22 @@ frames_l:
.byte <cyan05_zx02 ; 14.2 5
.byte <cyan06_zx02 ; 15 6
.byte <cyan07_zx02 ; 16 7
.byte <cyan08_zx02 ; 17 8
; .byte <cyan08_zx02 ; 17 8
.byte <cyan09_zx02 ; 18.5 9
.byte <cyan10_zx02 ; 20.5 10
; 21.5? 11
.byte <cyan11_zx02 ; 22.5 12
.byte <cyan12_zx02 ; 24.5 13
.byte <cyan13_zx02 ; 26 14
.byte <cyan14_zx02 ; 28 15
; 28.5? 16
; 29? 17
.byte <cyan15_zx02 ; 29.5 18
.byte <cyan16_zx02 ; 30 19
.byte <cyan17_zx02 ; 30.5 20
.byte <cyan18_zx02 ; 32 21
.byte <cyan11_zx02 ; 21.5? 11
.byte <cyan12_zx02 ; 22.5 12
.byte <cyan13_zx02 ; 24.5 13
.byte <cyan14_zx02 ; 26 14
.byte <cyan15_zx02 ; 28 15
.byte <cyan16_zx02 ; 28.5? 16
.byte <cyan17_zx02 ; 29? 17
.byte <cyan18_zx02 ; 29.5 18
.byte <cyan19_zx02 ; 30 19
.byte <cyan20_zx02 ; 30.5 20
.byte <cyan21_zx02 ; 32 21
; 22s total?
frames_h:
.byte >cyan01_zx02
@ -105,7 +123,7 @@ frames_h:
.byte >cyan05_zx02
.byte >cyan06_zx02
.byte >cyan07_zx02
.byte >cyan08_zx02
; .byte >cyan08_zx02
.byte >cyan09_zx02
.byte >cyan10_zx02
.byte >cyan11_zx02
@ -116,6 +134,9 @@ frames_h:
.byte >cyan16_zx02
.byte >cyan17_zx02
.byte >cyan18_zx02
.byte >cyan19_zx02
.byte >cyan20_zx02
.byte >cyan21_zx02
cyan_graphics:

View File

@ -23,7 +23,10 @@ cyan_graphics.inc: \
cyan15_iipix.hgr.zx02 \
cyan16_iipix.hgr.zx02 \
cyan17_iipix.hgr.zx02 \
cyan18_iipix.hgr.zx02
cyan18_iipix.hgr.zx02 \
cyan19_iipix.hgr.zx02 \
cyan20_iipix.hgr.zx02 \
cyan21_iipix.hgr.zx02
echo "cyan01_zx02: .incbin \"cyan01_iipix.hgr.zx02\"" > cyan_graphics.inc
echo "cyan02_zx02: .incbin \"cyan02_iipix.hgr.zx02\"" >> cyan_graphics.inc
echo "cyan03_zx02: .incbin \"cyan03_iipix.hgr.zx02\"" >> cyan_graphics.inc
@ -31,7 +34,7 @@ cyan_graphics.inc: \
echo "cyan05_zx02: .incbin \"cyan05_iipix.hgr.zx02\"" >> cyan_graphics.inc
echo "cyan06_zx02: .incbin \"cyan06_iipix.hgr.zx02\"" >> cyan_graphics.inc
echo "cyan07_zx02: .incbin \"cyan07_iipix.hgr.zx02\"" >> cyan_graphics.inc
echo "cyan08_zx02: .incbin \"cyan08_iipix.hgr.zx02\"" >> cyan_graphics.inc
# echo "cyan08_zx02: .incbin \"cyan08_iipix.hgr.zx02\"" >> cyan_graphics.inc
echo "cyan09_zx02: .incbin \"cyan09_iipix.hgr.zx02\"" >> cyan_graphics.inc
echo "cyan10_zx02: .incbin \"cyan10_iipix.hgr.zx02\"" >> cyan_graphics.inc
echo "cyan11_zx02: .incbin \"cyan11_iipix.hgr.zx02\"" >> cyan_graphics.inc
@ -42,6 +45,10 @@ cyan_graphics.inc: \
echo "cyan16_zx02: .incbin \"cyan16_iipix.hgr.zx02\"" >> cyan_graphics.inc
echo "cyan17_zx02: .incbin \"cyan17_iipix.hgr.zx02\"" >> cyan_graphics.inc
echo "cyan18_zx02: .incbin \"cyan18_iipix.hgr.zx02\"" >> cyan_graphics.inc
echo "cyan19_zx02: .incbin \"cyan19_iipix.hgr.zx02\"" >> cyan_graphics.inc
echo "cyan20_zx02: .incbin \"cyan20_iipix.hgr.zx02\"" >> cyan_graphics.inc
echo "cyan21_zx02: .incbin \"cyan21_iipix.hgr.zx02\"" >> cyan_graphics.inc