2020-03-13 17:04:31 +00:00
|
|
|
|
|
|
|
;===============================================
|
|
|
|
; level data for Selena level
|
|
|
|
;===============================================
|
|
|
|
|
|
|
|
locations:
|
2020-03-15 05:05:04 +00:00
|
|
|
.word location0, location1, location2, location3
|
2020-03-17 05:42:26 +00:00
|
|
|
.word location4, location5, location6, location7
|
2020-05-22 20:10:45 +00:00
|
|
|
.word location8, location9, location10,location11
|
2020-05-25 05:09:00 +00:00
|
|
|
.word location12,location13,location14,location15
|
|
|
|
.word location16
|
2020-03-13 17:04:31 +00:00
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; SELENA_INSIDE_SHIP -- Inside Ship
|
2020-03-13 17:04:31 +00:00
|
|
|
location0:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte SELENA_CONTROLS ; east exit
|
|
|
|
.byte SELENA_ELECTRIC_ORGAN ; west exit
|
2020-03-13 17:04:31 +00:00
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
2020-03-14 19:15:36 +00:00
|
|
|
.byte (DIRECTION_E|DIRECTION_ONLY_POINT) ; east exit_dir
|
2020-03-14 15:57:09 +00:00
|
|
|
.byte (DIRECTION_W|DIRECTION_ONLY_POINT) ; west exit_dir
|
2020-03-14 05:20:59 +00:00
|
|
|
.word spaceship_inside_mist_n_lzsa ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word spaceship_inside_e_lzsa ; east bg
|
|
|
|
.word spaceship_inside_w_lzsa ; west bg
|
|
|
|
.byte BG_WEST | BG_EAST | BG_NORTH
|
2020-03-17 18:31:57 +00:00
|
|
|
.byte DIRECTION_N ; special exit
|
|
|
|
.byte 9,29 ; special x
|
|
|
|
.byte 2,46 ; special y
|
|
|
|
.word back_to_mist-1 ; special function
|
2020-03-13 17:04:31 +00:00
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; SELENA_CONTROLS -- controls
|
2020-03-13 17:04:31 +00:00
|
|
|
location1:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte SELENA_INSIDE_SHIP ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-03-13 17:04:31 +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 controls_e_lzsa ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_EAST
|
2020-03-14 19:15:36 +00:00
|
|
|
.byte DIRECTION_E ; special exit
|
|
|
|
.byte 12,25 ; special x
|
|
|
|
.byte 26,46 ; special y
|
|
|
|
.word controls_pressed-1 ; special function
|
|
|
|
|
2020-03-13 17:04:31 +00:00
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; SELENA_ELECTRIC_ORGAN -- electric organ
|
2020-03-13 17:04:31 +00:00
|
|
|
location2:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte SELENA_INSIDE_SHIP ; west exit
|
2020-03-13 17:04:31 +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 organ_w_lzsa ; west bg
|
|
|
|
.byte BG_WEST
|
2020-03-14 15:57:09 +00:00
|
|
|
.byte DIRECTION_W ; special exit
|
|
|
|
.byte 7,31 ; special x
|
|
|
|
.byte 24,34 ; special y
|
|
|
|
.word organ_pressed-1 ; special function
|
2020-03-13 17:04:31 +00:00
|
|
|
|
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; SELENA_WALKWAY1 -- walkway1
|
2020-03-15 05:05:04 +00:00
|
|
|
location3:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte SELENA_WALKWAY4 ; north exit
|
|
|
|
.byte SELENA_SPACESHIP_DOOR ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-03-15 17:35:08 +00:00
|
|
|
.byte DIRECTION_N ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
2020-03-15 05:05:04 +00:00
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word walkway1_n_lzsa ; north bg
|
2020-03-15 17:35:08 +00:00
|
|
|
.word walkway1_s_lzsa ; south bg
|
2020-03-15 05:05:04 +00:00
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH
|
|
|
|
.byte $ff
|
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; SELENA_SPACESHIP_DOOR -- spaceship door
|
2020-03-15 17:35:08 +00:00
|
|
|
location4:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte SELENA_WALKWAY1 ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-03-15 17:35:08 +00:00
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte DIRECTION_N ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word spaceship_door_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH
|
|
|
|
.byte $ff
|
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; SELENA_WALKWAY4 -- walkway4
|
2020-03-15 17:35:08 +00:00
|
|
|
location5:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte SELENA_BUNKER ; north exit
|
|
|
|
.byte SELENA_WALKWAY1 ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-03-15 17:35:08 +00:00
|
|
|
.byte DIRECTION_N ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word walkway4_n_lzsa ; north bg
|
|
|
|
.word walkway4_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
|
|
|
.byte $ff
|
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; SELENA_BUNKER -- bunker
|
2020-03-15 17:35:08 +00:00
|
|
|
location6:
|
2020-05-22 20:10:45 +00:00
|
|
|
.byte SELENA_WATER_TURN ; north exit
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte SELENA_WALKWAY4 ; south exit
|
|
|
|
.byte SELENA_SUB_ROOM ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-05-22 20:10:45 +00:00
|
|
|
.byte DIRECTION_N ; north exit_dir
|
2020-03-15 17:35:08 +00:00
|
|
|
.byte DIRECTION_S ; south exit_dir
|
2020-03-17 05:42:26 +00:00
|
|
|
.byte DIRECTION_S ; east exit_dir
|
2020-03-15 17:35:08 +00:00
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word bunker_n_lzsa ; north bg
|
|
|
|
.word bunker_s_lzsa ; south bg
|
|
|
|
.word bunker_e_lzsa ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH|BG_EAST
|
|
|
|
.byte $ff
|
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; SELENA_SUB_ROOM -- sub room
|
2020-03-17 05:42:26 +00:00
|
|
|
location7:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte SELENA_BOOK_ROOM ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-03-17 05:42:26 +00:00
|
|
|
.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 subroom_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH
|
|
|
|
.byte $ff
|
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; SELENA_BOOK_ROOM -- book room
|
2020-03-17 05:42:26 +00:00
|
|
|
location8:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte SELENA_BOOK_CLOSED ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-03-17 05:42:26 +00:00
|
|
|
.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_table_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH
|
|
|
|
.byte $ff
|
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; SELENA_BOOK_CLOSED -- book
|
2020-03-17 05:42:26 +00:00
|
|
|
location9:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte SELENA_BOOK_OPEN ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-03-17 05:42:26 +00:00
|
|
|
.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_mist_closed_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH
|
|
|
|
.byte $ff
|
|
|
|
|
2020-03-19 21:25:20 +00:00
|
|
|
; SELENA_BOOK_OPEN -- mist book open
|
2020-03-17 05:42:26 +00:00
|
|
|
location10:
|
2020-03-19 21:25:20 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte SELENA_BOOK_ROOM ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-03-17 05:42:26 +00:00
|
|
|
.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_mist_open_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH
|
|
|
|
.byte DIRECTION_S
|
|
|
|
.byte 24,32 ; special x
|
|
|
|
.byte 12,22 ; special y
|
|
|
|
.word mist_link_book-1 ; special function
|
2020-03-13 17:04:31 +00:00
|
|
|
|
2020-05-22 20:10:45 +00:00
|
|
|
; SELENA_WATER_TURN -- turnoff for water
|
|
|
|
location11:
|
2020-05-25 05:09:00 +00:00
|
|
|
.byte SELENA_TOWER_VIEW ; north exit
|
2020-05-22 20:10:45 +00:00
|
|
|
.byte SELENA_BUNKER ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte SELENA_WATER_PATH ; west exit
|
2020-05-25 05:09:00 +00:00
|
|
|
.byte DIRECTION_N ; north exit_dir
|
2020-05-22 20:10:45 +00:00
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte DIRECTION_W ; west exit_dir
|
|
|
|
.word water_turn_n_lzsa ; north bg
|
|
|
|
.word water_turn_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word water_turn_w_lzsa ; west bg
|
|
|
|
.byte BG_SOUTH|BG_NORTH|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; SELENA_WATER_PATH -- path to water
|
|
|
|
location12:
|
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte SELENA_WATER_TURN ; east exit
|
|
|
|
.byte SELENA_WATER ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte DIRECTION_S ; east exit_dir
|
|
|
|
.byte DIRECTION_W ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word water_path_e_lzsa ; east bg
|
|
|
|
.word water_path_w_lzsa ; west bg
|
|
|
|
.byte BG_EAST|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; SELENA_WATER -- water
|
|
|
|
location13:
|
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte SELENA_WATER_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 water_note_s_lzsa ; south bg
|
|
|
|
.word water_note_e_lzsa ; east bg
|
|
|
|
.word water_note_w_lzsa ; west bg
|
|
|
|
.byte BG_SOUTH|BG_EAST|BG_WEST
|
|
|
|
.byte DIRECTION_S ; special exit
|
|
|
|
.byte 20,27 ; special x
|
2020-05-22 20:35:49 +00:00
|
|
|
.byte 24,34 ; special y
|
2020-05-22 20:10:45 +00:00
|
|
|
.word selena_take_blue_page-1 ; special function
|
|
|
|
|
2020-05-25 05:09:00 +00:00
|
|
|
; SELENA_TOWER_VIEW -- tower view
|
|
|
|
location14:
|
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte SELENA_WATER_TURN ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte SELENA_CHASM_PATH ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte DIRECTION_W ; west exit_dir
|
|
|
|
.word tower_view_n_lzsa ; north bg
|
|
|
|
.word tower_view_s_lzsa ; south bg
|
|
|
|
.word tower_view_e_lzsa ; east bg
|
|
|
|
.word tower_view_w_lzsa ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH|BG_EAST|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; SELENA_CHASM_PATH -- path to chasm
|
|
|
|
location15:
|
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte SELENA_TOWER_VIEW ; east exit
|
|
|
|
.byte SELENA_CHASM ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte DIRECTION_E ; east exit_dir
|
|
|
|
.byte DIRECTION_S ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word chasm_path_e_lzsa ; east bg
|
|
|
|
.word chasm_path_w_lzsa ; west bg
|
|
|
|
.byte BG_EAST|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; SELENA_CHASM -- chasm
|
|
|
|
location16:
|
|
|
|
.byte SELENA_CHASM_PATH ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte DIRECTION_E ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word chasm_n_lzsa ; north bg
|
|
|
|
.word chasm_s_lzsa ; south bg
|
|
|
|
.word chasm_e_lzsa ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH|BG_EAST|BG_NORTH
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-05-22 20:10:45 +00:00
|
|
|
|
|
|
|
|