riven: hook up so you can get to dome bridge

This commit is contained in:
Vince Weaver 2024-08-24 18:16:23 -04:00
parent 0970277a61
commit e89bbeda98
4 changed files with 15 additions and 14 deletions

View File

@ -1,6 +1,7 @@
.include "../zp.inc" .include "../zp.inc"
.include "../disk02_files/disk02_defines.inc" .include "../disk02_files/disk02_defines.inc"
.include "../disk00_files/disk00_defines.inc" .include "../disk00_files/disk00_defines.inc"
.include "../disk16_files/disk16_defines.inc"
which_disk_bcd: which_disk_bcd:
.byte $10 ; BCD .byte $10 ; BCD
@ -27,7 +28,7 @@ length_array:
disk_exit_disk: ; note: not BCD anymore disk_exit_disk: ; note: not BCD anymore
.byte 2 .byte 2
.byte 0 .byte 16
.byte 0 .byte 0
.byte 0 .byte 0
.byte 0 .byte 0
@ -35,7 +36,7 @@ disk_exit_disk: ; note: not BCD anymore
disk_exit_disk_bcd: disk_exit_disk_bcd:
.byte $02 .byte $02
.byte $00 .byte $16
.byte $00 .byte $00
.byte 0 .byte 0
.byte 0 .byte 0
@ -51,7 +52,7 @@ disk_exit_dni_h:
.byte 0 .byte 0
disk_exit_dni_l: disk_exit_dni_l:
.byte $02 .byte $02
.byte 0 .byte $31
.byte 0 .byte 0
.byte 0 .byte 0
.byte 0 .byte 0
@ -60,21 +61,21 @@ disk_exit_dni_l:
; ;
disk_exit_load: disk_exit_load:
.byte LOAD_TOP .byte LOAD_TOP
.byte 0 .byte LOAD_DOME_BRIDGE
.byte 0 .byte 0
.byte 0 .byte 0
.byte 0 .byte 0
.byte LOAD_CYAN .byte LOAD_CYAN
disk_exit_level: disk_exit_level:
.byte RIVEN_ALCOVE .byte RIVEN_ALCOVE
.byte 0 .byte RIVEN_DOME_BRIDGE
.byte 0 .byte 0
.byte 0 .byte 0
.byte 0 .byte 0
.byte 0 .byte 0
disk_exit_direction: disk_exit_direction:
.byte DIRECTION_E .byte DIRECTION_E
.byte 0 .byte DIRECTION_N
.byte 0 .byte 0
.byte 0 .byte 0
.byte 0 .byte 0

View File

@ -9,11 +9,11 @@ locations:
location0: location0:
.byte $ff ; north exit .byte $ff ; north exit
.byte $ff ; south exit .byte $E1 ; south exit
.byte $FF ; east exit .byte $FF ; east exit
.byte $FF ; west exit .byte $FF ; west exit
.byte $FF ; north exit_dir .byte $FF ; north exit_dir
.byte DIRECTION_E ; south exit_dir .byte DIRECTION_N ; south exit_dir
.byte $FF ; east exit_dir .byte $FF ; east exit_dir
.byte $FF ; west exit_dir .byte $FF ; west exit_dir
.word pillars_32_in_zx02 ; north bg .word pillars_32_in_zx02 ; north bg

View File

@ -1,12 +1,12 @@
LOAD_TITLE_16 = 0 LOAD_TITLE_16 = 0
LOAD_BRIDGE = 1 LOAD_DOME_BRIDGE = 1
LOAD_BRIDGE2 = 2 LOAD_DOME_BRIDGE2 = 2
LOAD_DOME = 3 LOAD_DOME = 3
;================================ ;================================
; Level definitions ; Level definitions
; BRIDGE ; DOME_BRIDGE
RIVEN_BRIDGE = 0 RIVEN_DOME_BRIDGE = 0

View File

@ -491,10 +491,10 @@ game_continue:
.endif .endif
.if DISK=16 .if DISK=16
lda #LOAD_BRIDGE lda #LOAD_DOME_BRIDGE
sta WHICH_LOAD sta WHICH_LOAD
lda #RIVEN_BRIDGE lda #RIVEN_DOME_BRIDGE
sta LOCATION sta LOCATION
lda #DIRECTION_N lda #DIRECTION_N