riven: only have cove movie appear once

This commit is contained in:
Vince Weaver 2024-06-24 18:50:10 -04:00
parent 122dfd9aa6
commit 2a20694579
5 changed files with 18 additions and 4 deletions

View File

@ -28,6 +28,16 @@ riven_jungle_cove:
; set up location
;========================
lda BEACH_ANIMALS_SEEN
beq no_beach_patch
lda #RIVEN_COVE
sta location0+2
no_beach_patch:
lda #<locations
sta LOCATIONS_L
lda #>locations

View File

@ -9,7 +9,8 @@ locations:
location0:
.byte $ff ; north exit
.byte $ff ; south exit
.byte RIVEN_COVE ; east exit
.byte LOAD_MOVIE_COVE<<4
; .byte RIVEN_COVE ; east exit
.byte LOAD_STAIRS<<4|RIVEN_DOWN1 ; west exit
.byte $ff ; north exit_dir
.byte $ff ; south exit_dir

View File

@ -26,8 +26,8 @@ location0:
location1:
.byte $ff ; north exit
.byte $ff ; south exit
.byte LOAD_MOVIE_COVE<<4
; .byte LOAD_COVE<<4|RIVEN_DOWN2 ; east exit
; .byte LOAD_MOVIE_COVE<<4
.byte LOAD_COVE<<4|RIVEN_DOWN2 ; east exit
.byte RIVEN_STAIRS ; west exit
.byte $ff ; north exit_dir
.byte $ff ; south exit_dir

View File

@ -128,6 +128,9 @@ done_movie:
lda #RIVEN_COVE
sta LOCATION
lda #1
sta BEACH_ANIMALS_SEEN
; needed?
lda #1

View File

@ -284,7 +284,7 @@ done_setup_sound:
lda #0
sta LEVEL_OVER
sta BEACH_ANIMALS_SEEN
; init hi-res graphics