dos33fsprogs/games/riven_hgr/disk43_files/leveldata_cart.inc
2024-06-27 01:39:47 -04:00

45 lines
1.2 KiB
PHP

;===============================================
; level data for Cart level
;===============================================
locations:
.word location0,location1
; RIVEN_OUTSIDE_CART -- just outside cart
location0:
.byte RIVEN_IN_CART ; north exit
.byte LOAD_LOGGED2<<4|RIVEN_LOGGED4 ; south exit
.byte $ff ; east exit
.byte $ff ; west exit
.byte DIRECTION_E ; north exit_dir
.byte DIRECTION_E ; south exit_dir
.byte $ff ; east exit_dir
.byte $ff ; west exit_dir
.word cart_n_zx02 ; north bg
.word cart_s_zx02 ; south bg
.word cart_e_zx02 ; east bg
.word cart_w_zx02 ; west bg
.byte BG_EAST|BG_NORTH|BG_SOUTH|BG_WEST ; all bgs
.byte $ff ; special exit
; RIVEN_IN_CART -- sitting in cart
location1:
.byte $ff ; north exit
.byte $ff ; south exit
.byte RIVEN_OUTSIDE_CART ; east exit
.byte RIVEN_OUTSIDE_CART ; west exit
.byte $ff ; north exit_dir
.byte $ff ; south exit_dir
.byte DIRECTION_N ; east exit_dir
.byte DIRECTION_N ; west exit_dir
.word $0000 ; north bg
.word $0000 ; south bg
.word in_cart_e_zx02 ; east bg
.word in_cart_w_zx02 ; west bg
.byte BG_EAST|BG_WEST ; which bgs
.byte DIRECTION_E ; special exit
.byte 3,5 ; special x
.byte 107,130 ; special y
.word cart_button_clicked-1