2020-03-08 04:26:52 +00:00
|
|
|
|
|
|
|
;===============================================
|
|
|
|
; level data for Meche level
|
|
|
|
;===============================================
|
|
|
|
|
|
|
|
locations:
|
|
|
|
.word location0, location1, location2, location3
|
2020-03-20 03:18:17 +00:00
|
|
|
.word location4, location5, location6, location7
|
2020-03-08 04:26:52 +00:00
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; MECHE_INSIDE_GEAR -- Inside gear on Mist
|
2020-03-08 04:26:52 +00:00
|
|
|
location0:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte MECHE_CLOSED_BOOK ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-03-08 04:26:52 +00:00
|
|
|
.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 departure_e_lzsa ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_EAST
|
|
|
|
.byte $ff ; special exit
|
|
|
|
|
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; MECHE_CLOSED_BOOK -- closed book
|
2020-03-08 04:26:52 +00:00
|
|
|
location1:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte MECHE_OPEN_BOOK ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-03-08 04:26:52 +00:00
|
|
|
.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 meche_book_closed_lzsa ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_EAST
|
|
|
|
.byte $ff ; special exit
|
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; MECHE_OPEN_BOOK -- open book
|
2020-03-08 04:26:52 +00:00
|
|
|
location2:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte MECHE_INSIDE_GEAR ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-03-08 04:26:52 +00:00
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
2020-03-08 17:45:05 +00:00
|
|
|
.byte DIRECTION_E ; east exit_dir
|
2020-03-08 04:26:52 +00:00
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word meche_book_open_lzsa ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_EAST
|
2020-03-08 17:45:05 +00:00
|
|
|
.byte DIRECTION_E ; special exit
|
|
|
|
.byte 21,31 ; special x
|
|
|
|
.byte 10,24 ; special y
|
|
|
|
.word meche_link_book-1 ; special function
|
|
|
|
|
2020-03-08 04:26:52 +00:00
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; MECHE_ARRIVAL -- arrival
|
2020-03-08 04:26:52 +00:00
|
|
|
location3:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte MECHE_ENTRANCE ; west exit
|
2020-03-08 04:26:52 +00:00
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte DIRECTION_W ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word arrival_w_lzsa ; west bg
|
|
|
|
.byte BG_WEST
|
|
|
|
.byte $ff ; special exit
|
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; MECHE_ENTRANCE -- entrance
|
2020-03-08 04:26:52 +00:00
|
|
|
location4:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte MECHE_FORT_VIEW ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte MECHE_ARRIVAL ; west exit
|
2020-03-08 17:45:05 +00:00
|
|
|
.byte DIRECTION_N ; north exit_dir
|
2020-03-08 04:26:52 +00:00
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte DIRECTION_W ; west exit_dir
|
|
|
|
.word entrance_n_lzsa ; north bg
|
|
|
|
.word entrance_s_lzsa ; south bg
|
|
|
|
.word entrance_e_lzsa ; east bg
|
|
|
|
.word entrance_w_lzsa ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH|BG_EAST|BG_WEST
|
|
|
|
.byte $ff ; special exit
|
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; MECHE_FORT_VIEW -- fort view
|
2020-03-08 17:45:05 +00:00
|
|
|
location5:
|
2020-03-20 03:18:17 +00:00
|
|
|
.byte MECHE_BRIDGE2 ; north exit
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte MECHE_ENTRANCE ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-03-20 03:18:17 +00:00
|
|
|
.byte DIRECTION_N ; north exit_dir
|
2020-03-08 17:45:05 +00:00
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word fort_view_n_lzsa ; north bg
|
|
|
|
.word fort_view_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
|
|
|
.byte $ff ; special exit
|
|
|
|
|
2020-03-20 03:18:17 +00:00
|
|
|
; MECHE_BRIDGE2 -- bridge2
|
|
|
|
location6:
|
|
|
|
.byte MECHE_FORT_DOOR ; north exit
|
|
|
|
.byte MECHE_FORT_VIEW ; 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 bridge2_n_lzsa ; north bg
|
|
|
|
.word bridge2_s_lzsa ; south bg
|
|
|
|
.word bridge2_e_lzsa ; east bg
|
|
|
|
.word bridge2_w_lzsa ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH|BG_EAST|BG_WEST
|
|
|
|
.byte $ff ; special exit
|
|
|
|
|
|
|
|
|
|
|
|
; MECHE_FORT_DOOR -- fort door
|
|
|
|
location7:
|
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte MECHE_BRIDGE2 ; 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 fort_door_n_lzsa ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH
|
|
|
|
.byte $ff ; special exit
|
|
|
|
|