2020-03-19 17:55:29 +00:00
|
|
|
;===============================================
|
|
|
|
; level data for Title
|
|
|
|
;===============================================
|
|
|
|
|
|
|
|
locations:
|
2020-07-17 15:54:06 +00:00
|
|
|
.word location0, location1, location2
|
2020-03-19 17:55:29 +00:00
|
|
|
|
2020-07-17 15:54:06 +00:00
|
|
|
; TITLE_BOOK_GROUND -- myst book on ground
|
2020-03-19 17:55:29 +00:00
|
|
|
location0:
|
2020-07-17 15:54:06 +00:00
|
|
|
.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 book_ground_n_lzsa ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH ; only north bg
|
|
|
|
.byte DIRECTION_N ; special exit
|
|
|
|
.byte 16,24 ; special x
|
|
|
|
.byte 26,36 ; special y
|
|
|
|
.word get_mist_book-1 ; special function
|
|
|
|
|
|
|
|
; TITLE_BOOK_CLOSED -- myst linking book closed
|
|
|
|
location1:
|
2020-07-17 16:53:08 +00:00
|
|
|
.byte TITLE_BOOK_OPEN ; north exit
|
2020-03-19 17:55:29 +00:00
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-07-17 16:53:08 +00:00
|
|
|
.byte DIRECTION_N ; north exit_dir
|
2020-03-19 17:55:29 +00:00
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
2020-07-17 16:53:08 +00:00
|
|
|
.word book_closed_n_lzsa ; north bg
|
2020-03-19 17:55:29 +00:00
|
|
|
.word $0000 ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH ; only north bg
|
2020-07-17 16:53:08 +00:00
|
|
|
.byte $ff ; special exit
|
|
|
|
|
2020-03-19 17:55:29 +00:00
|
|
|
|
2020-07-17 15:54:06 +00:00
|
|
|
; TITLE_BOOK_OPEN -- myst linking book
|
|
|
|
location2:
|
|
|
|
.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 m_link_book_lzsa ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH ; only north bg
|
|
|
|
.byte DIRECTION_N ; special exit
|
2020-07-17 16:53:08 +00:00
|
|
|
.byte 22,33 ; special x
|
|
|
|
.byte 12,26 ; special y
|
2020-07-17 15:54:06 +00:00
|
|
|
.word mist_link_book-1 ; special function
|