diff --git a/games/mist_hgr/leveldata_title.inc b/games/mist_hgr/leveldata_title.inc new file mode 100644 index 00000000..7d19f010 --- /dev/null +++ b/games/mist_hgr/leveldata_title.inc @@ -0,0 +1,64 @@ +;=============================================== +; level data for Title +;=============================================== + +locations: + .word location0, location1, location2 + +; TITLE_BOOK_GROUND -- myst book on ground +location0: + .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: + .byte TITLE_BOOK_OPEN ; north exit + .byte $ff ; south exit + .byte $ff ; east exit + .byte $ff ; west exit + .byte DIRECTION_N ; north exit_dir + .byte $ff ; south exit_dir + .byte $ff ; east exit_dir + .byte $ff ; west exit_dir + .word book_closed_n_lzsa ; north bg + .word $0000 ; south bg + .word $0000 ; east bg + .word $0000 ; west bg + .byte BG_NORTH ; only north bg + .byte $ff ; special exit + + +; 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 22,33 ; special x + .byte 12,26 ; special y + .word mist_link_book-1 ; special function