mist: channelwood: can walk to downed bridge

This commit is contained in:
Vince Weaver 2020-05-30 22:43:19 -04:00
parent db2e9eb581
commit 7419e6169c
16 changed files with 78 additions and 9 deletions

View File

@ -323,3 +323,6 @@ CHANNEL_TREE_BOOK = 10
CHANNEL_TREE_BOOK_CLOSED= 11
CHANNEL_TREE_BOOK_OPEN = 12
CHANNEL_ARRIVAL = 13
CHANNEL_PATH2 = 14
CHANNEL_PATH3 = 15
CHANNEL_BRIDGE = 16

View File

@ -22,7 +22,10 @@ channel_graphics.inc: \
tree_basement_book_s.lzsa \
tree_basement_book_open_s.lzsa \
tree_basement_book_closed_s.lzsa \
tree_elevator_basement_s.lzsa
tree_elevator_basement_s.lzsa \
bridge_w.lzsa bridge_down_e.lzsa \
path2_e.lzsa path2_s.lzsa path2_n.lzsa \
path3_w.lzsa path3_e.lzsa path3_n.lzsa
echo "arrival_n_lzsa: .incbin \"arrival_n.lzsa\"" > channel_graphics.inc
echo "arrival_s_lzsa: .incbin \"arrival_s.lzsa\"" >> channel_graphics.inc
echo "clearing_e_lzsa: .incbin \"clearing_e.lzsa\"" >> channel_graphics.inc
@ -46,6 +49,15 @@ channel_graphics.inc: \
echo "tree_basement_book_open_s_lzsa: .incbin \"tree_basement_book_open_s.lzsa\"" >> channel_graphics.inc
echo "tree_basement_book_closed_s_lzsa: .incbin \"tree_basement_book_closed_s.lzsa\"" >> channel_graphics.inc
echo "tree_elevator_basement_s_lzsa: .incbin \"tree_elevator_basement_s.lzsa\"" >> channel_graphics.inc
echo "bridge_w_lzsa: .incbin \"bridge_w.lzsa\"" >> channel_graphics.inc
echo "bridge_down_e_lzsa: .incbin \"bridge_down_e.lzsa\"" >> channel_graphics.inc
echo "path2_n_lzsa: .incbin \"path2_n.lzsa\"" >> channel_graphics.inc
echo "path2_s_lzsa: .incbin \"path2_s.lzsa\"" >> channel_graphics.inc
echo "path2_e_lzsa: .incbin \"path2_e.lzsa\"" >> channel_graphics.inc
echo "path3_w_lzsa: .incbin \"path3_w.lzsa\"" >> channel_graphics.inc
echo "path3_e_lzsa: .incbin \"path3_e.lzsa\"" >> channel_graphics.inc
echo "path3_n_lzsa: .incbin \"path3_n.lzsa\"" >> channel_graphics.inc
%.gr: %.png
$(PNG2GR) $< $@

Binary file not shown.

Before

Width:  |  Height:  |  Size: 986 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 987 B

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 990 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1018 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 934 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -3,11 +3,11 @@
;===============================================
locations:
.word location0,location1,location2,location3
.word location4,location5,location6,location7
.word location8,location9,location10,location11
.word location12,location13
.word location0, location1, location2, location3
.word location4, location5, location6, location7
.word location8, location9, location10,location11
.word location12,location13,location14,location15
.word location16
; CHANNEL_OUTSIDE_CABIN -- outside in clearing
@ -248,11 +248,11 @@ location12:
; CHANNEL_ARRIVAL -- arrival in channelwood
location13:
.byte $ff ; north exit
.byte CHANNEL_PATH2 ; north exit
.byte $ff ; south exit
.byte $ff ; east exit
.byte $ff ; west exit
.byte $ff ; north exit_dir
.byte DIRECTION_N ; north exit_dir
.byte $ff ; south exit_dir
.byte $ff ; east exit_dir
.byte $ff ; west exit_dir
@ -262,3 +262,57 @@ location13:
.word $0000 ; west bg
.byte BG_SOUTH|BG_NORTH
.byte $ff
; CHANNEL_PATH2 -- twisty maze of passages all alike
location14:
.byte $ff ; north exit
.byte CHANNEL_ARRIVAL ; south exit
.byte CHANNEL_PATH3 ; east exit
.byte $ff ; west exit
.byte $ff ; north exit_dir
.byte DIRECTION_S ; south exit_dir
.byte DIRECTION_E ; east exit_dir
.byte $ff ; west exit_dir
.word path2_n_lzsa ; north bg
.word path2_s_lzsa ; south bg
.word path2_e_lzsa ; east bg
.word $0000 ; west bg
.byte BG_SOUTH|BG_NORTH|BG_EAST
.byte $ff
; CHANNEL_PATH3 -- twisty maze of passages all alike
location15:
.byte $ff ; north exit
.byte $ff ; south exit
.byte CHANNEL_BRIDGE ; east exit
.byte CHANNEL_PATH2 ; west exit
.byte $ff ; north exit_dir
.byte $ff ; south exit_dir
.byte DIRECTION_E ; east exit_dir
.byte DIRECTION_S ; west exit_dir
.word path3_n_lzsa ; north bg
.word $0000 ; south bg
.word path3_e_lzsa ; east bg
.word path3_w_lzsa ; west bg
.byte BG_NORTH|BG_WEST|BG_EAST
.byte $ff
; CHANNEL_BRIDGE -- raisable bridge
location16:
.byte $ff ; north exit
.byte $ff ; south exit
.byte $ff ; east exit
.byte CHANNEL_PATH3 ; west exit
.byte $ff ; north exit_dir
.byte $ff ; south exit_dir
.byte DIRECTION_E ; east exit_dir
.byte DIRECTION_W ; west exit_dir
.word $0000 ; north bg
.word $0000 ; south bg
.word bridge_down_e_lzsa ; east bg
.word bridge_w_lzsa ; west bg
.byte BG_WEST|BG_EAST
.byte $ff

View File

@ -35,7 +35,7 @@ channel_link_book:
lda #CHANNEL_ARRIVAL
sta LOCATION
lda #DIRECTION_N
lda #DIRECTION_S
sta DIRECTION
jsr change_location