2020-03-26 18:17:10 +00:00
|
|
|
|
|
|
|
;===============================================
|
2020-04-09 05:23:32 +00:00
|
|
|
; level data for Stoney Ship
|
2020-03-26 18:17:10 +00:00
|
|
|
;===============================================
|
|
|
|
|
|
|
|
locations:
|
2020-03-27 16:43:47 +00:00
|
|
|
.word location0, location1, location2, location3
|
2020-04-16 19:35:49 +00:00
|
|
|
.word location4, location5, location6, location7
|
|
|
|
.word location8, location9
|
2020-03-26 18:17:10 +00:00
|
|
|
|
|
|
|
; STONEY_SHIP_STERN -- back of the ship
|
|
|
|
location0:
|
|
|
|
.byte STONEY_SHIP_BOW ; north exit
|
2020-03-27 16:43:47 +00:00
|
|
|
.byte STONEY_SHIP_DOOR_CLOSED ; south exit
|
2020-03-26 18:17:10 +00:00
|
|
|
.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_entry_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
|
|
|
.byte $ff
|
|
|
|
; .byte DIRECTION_E ; special exit
|
|
|
|
; .byte 12,25 ; special x
|
|
|
|
; .byte 26,46 ; special y
|
|
|
|
; .word controls_pressed-1 ; special function
|
|
|
|
|
2020-03-27 16:43:47 +00:00
|
|
|
; STONY_SHIP_BOW -- bow of the ship
|
2020-03-26 18:17:10 +00:00
|
|
|
location1:
|
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte STONEY_SHIP_STERN ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word ship_bow_go_n_lzsa ; north bg
|
|
|
|
.word ship_bow_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH | BG_SOUTH
|
|
|
|
.byte DIRECTION_N ; special exit
|
|
|
|
.byte 9,29 ; special x
|
|
|
|
.byte 2,46 ; special y
|
|
|
|
.word back_to_mist-1 ; special function
|
2020-03-27 16:43:47 +00:00
|
|
|
|
|
|
|
; 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
|
2020-04-16 19:35:49 +00:00
|
|
|
.byte STONEY_SHIP_BOOK_CLOSED ; south exit
|
2020-03-27 16:43:47 +00:00
|
|
|
.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
|
2020-04-16 19:35:49 +00:00
|
|
|
|
|
|
|
; STONEY_SHIP_BOOK_CLOSED -- stoney linking book, closed
|
|
|
|
location5:
|
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte STONEY_SHIP_BOOK_OPEN ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word book_chair_closed_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH
|
|
|
|
.byte $ff ; special exit
|
|
|
|
|
|
|
|
; STONEY_SHIP_BOOK_OPEN -- stoney linking book, open
|
|
|
|
location6:
|
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte STONEY_SHIP_CHAIR ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word book_chair_open_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH
|
|
|
|
.byte DIRECTION_S ; special exit
|
|
|
|
.byte 21,31 ; special x
|
|
|
|
.byte 10,24 ; special y
|
|
|
|
.word stoney_link_book-1
|
|
|
|
|
|
|
|
; STONEY_ARRIVAL -- arrival at stoneship
|
|
|
|
location7:
|
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word arrival_n_lzsa ; north bg
|
|
|
|
.word arrival_s_lzsa ; south bg
|
|
|
|
.word arrival_e_lzsa ; east bg
|
|
|
|
.word arrival_w_lzsa ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH|BG_EAST|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; STONEY_UMBRELLA_PATH -- umbrella path
|
|
|
|
location8:
|
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte STONEY_ARRIVAL ; east exit
|
|
|
|
.byte STONEY_UMBRELLA ; 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 umbrella_path_e_lzsa ; east bg
|
|
|
|
.word umbrella_path_w_lzsa ; west bg
|
|
|
|
.byte BG_EAST|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; STONEY_UMBRELLA -- umbrella switch
|
|
|
|
location9:
|
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte STONEY_UMBRELLA_PATH ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte DIRECTION_E ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word umbrella_e_lzsa ; east bg
|
|
|
|
.word umbrella_w_lzsa ; west bg
|
|
|
|
.byte BG_EAST|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
|