mist: can now get to book on the ship

This commit is contained in:
Vince Weaver 2020-03-27 12:43:47 -04:00
parent 907cbf7add
commit 9296140132
6 changed files with 66 additions and 12 deletions

View File

@ -189,9 +189,10 @@ VIEWER_POOL = 1
; Stoney Ship
STONEY_SHIP_STERN = 0
STONEY_SHIP_BOW = 1
STONEY_SHIP_DOOR_OPEN = 2
STONEY_SHIP_CHAIR = 3
STONEY_SHIP_BOOK_CLOSED = 4
STONEY_SHIP_BOOK_OPEN = 5
STONEY_SHIP_DOOR_CLOSED = 2
STONEY_SHIP_DOOR_OPEN = 3
STONEY_SHIP_CHAIR = 4
STONEY_SHIP_BOOK_CLOSED = 5
STONEY_SHIP_BOOK_OPEN = 6

View File

@ -11,15 +11,16 @@ all: stoney_graphics.inc
stoney_graphics.inc: \
ship_entry_n.lzsa ship_entry_s.lzsa \
ship_bow_s.lzsa ship_bow_go_n.lzsa \
book_chair_s.lzsa
ship_door_open_s.lzsa ship_door_closed_s.lzsa \
book_chair_s.lzsa book_chair_n.lzsa
echo "ship_entry_n_lzsa: .incbin \"ship_entry_n.lzsa\"" > stoney_graphics.inc
echo "ship_entry_s_lzsa: .incbin \"ship_entry_s.lzsa\"" >> stoney_graphics.inc
echo "ship_bow_s_lzsa: .incbin \"ship_bow_s.lzsa\"" >> stoney_graphics.inc
echo "ship_bow_go_n_lzsa: .incbin \"ship_bow_go_n.lzsa\"" >> stoney_graphics.inc
echo "book_chair_s_lzsa: .incbin \"book_chair_s.lzsa\"" >> stoney_graphics.inc
echo "book_chair_n_lzsa: .incbin \"book_chair_n.lzsa\"" >> stoney_graphics.inc
echo "ship_door_open_s_lzsa: .incbin \"ship_door_open_s.lzsa\"" >> stoney_graphics.inc
echo "ship_door_closed_s_lzsa: .incbin \"ship_door_closed_s.lzsa\"" >> stoney_graphics.inc
%.gr: %.png
$(PNG2GR) $< $@

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 920 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 953 B

View File

@ -4,13 +4,13 @@
;===============================================
locations:
.word location0, location1
.word location0, location1, location2, location3
.word location4
; STONEY_SHIP_STERN -- back of the ship
location0:
.byte STONEY_SHIP_BOW ; north exit
.byte STONEY_SHIP_DOOR_OPEN ; south exit
.byte STONEY_SHIP_DOOR_CLOSED ; south exit
.byte $ff ; east exit
.byte $ff ; west exit
.byte DIRECTION_N ; north exit_dir
@ -28,7 +28,7 @@ location0:
; .byte 26,46 ; special y
; .word controls_pressed-1 ; special function
; Ship Bow -- bow of the ship
; STONY_SHIP_BOW -- bow of the ship
location1:
.byte $ff ; north exit
.byte STONEY_SHIP_STERN ; south exit
@ -47,3 +47,55 @@ location1:
.byte 9,29 ; special x
.byte 2,46 ; special y
.word back_to_mist-1 ; special function
; STONEY_SHIP_DOOR_CLOSED -- ship cabin door
location2:
.byte STONEY_SHIP_BOW ; north exit
.byte STONEY_SHIP_DOOR_OPEN ; south exit
.byte $ff ; east exit
.byte $ff ; west exit
.byte DIRECTION_N ; north exit_dir
.byte DIRECTION_S ; south exit_dir
.byte $ff ; east exit_dir
.byte $ff ; west exit_dir
.word ship_entry_n_lzsa ; north bg
.word ship_door_closed_s_lzsa ; south bg
.word $0000 ; east bg
.word $0000 ; west bg
.byte BG_SOUTH|BG_NORTH
.byte $ff ; special exit
; STONEY_SHIP_DOOR_OPEN -- ship cabin door open
location3:
.byte STONEY_SHIP_BOW ; north exit
.byte STONEY_SHIP_CHAIR ; south exit
.byte $ff ; east exit
.byte $ff ; west exit
.byte DIRECTION_N ; north exit_dir
.byte DIRECTION_S ; south exit_dir
.byte $ff ; east exit_dir
.byte $ff ; west exit_dir
.word ship_entry_n_lzsa ; north bg
.word ship_door_open_s_lzsa ; south bg
.word $0000 ; east bg
.word $0000 ; west bg
.byte BG_SOUTH|BG_NORTH
.byte $ff ; special exit
; STONEY_SHIP_CHAIR -- chair in the cabin
location4:
.byte STONEY_SHIP_STERN ; north exit
; .byte STONEY_SHIP_BOOK_CLOSED ; south exit
.byte $ff
.byte $ff ; east exit
.byte $ff ; west exit
.byte DIRECTION_N ; north exit_dir
.byte DIRECTION_S ; south exit_dir
.byte $ff ; east exit_dir
.byte $ff ; west exit_dir
.word book_chair_n_lzsa ; north bg
.word book_chair_s_lzsa ; south bg
.word $0000 ; east bg
.word $0000 ; west bg
.byte BG_SOUTH|BG_NORTH
.byte $ff ; special exit