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-03-19 17:55:29 +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 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
|
|
|
|
.byte 21,31 ; special x
|
|
|
|
.byte 10,24 ; special y
|
|
|
|
.word mist_link_book-1 ; special function
|
|
|
|
|
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
|
|
|
|
.byte 21,31 ; special x
|
|
|
|
.byte 10,24 ; special y
|
|
|
|
.word mist_link_book-1 ; special function
|