2020-04-09 05:23:32 +00:00
|
|
|
;===============================================
|
|
|
|
; level data for Channely Wood
|
|
|
|
;===============================================
|
|
|
|
|
|
|
|
locations:
|
2020-05-31 02:43:19 +00:00
|
|
|
.word location0, location1, location2, location3
|
|
|
|
.word location4, location5, location6, location7
|
|
|
|
.word location8, location9, location10,location11
|
|
|
|
.word location12,location13,location14,location15
|
2020-06-05 15:54:50 +00:00
|
|
|
.word location16,location17,location18,location19
|
2020-06-07 04:49:38 +00:00
|
|
|
.word location20,location21,location22,location23
|
2020-06-08 04:45:38 +00:00
|
|
|
.word location24,location25,location26,location27
|
2020-06-09 06:22:42 +00:00
|
|
|
.word location28,location29,location30,location31
|
2020-06-11 06:27:36 +00:00
|
|
|
.word location32,location33,location34,location35
|
2020-06-17 17:39:52 +00:00
|
|
|
.word location36,location37
|
2020-04-15 17:30:23 +00:00
|
|
|
|
|
|
|
; CHANNEL_ARRIVAL -- arrival in channelwood
|
2020-06-16 18:55:45 +00:00
|
|
|
location0:
|
2020-05-31 02:43:19 +00:00
|
|
|
.byte CHANNEL_PATH2 ; north exit
|
2020-04-15 17:30:23 +00:00
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-05-31 02:43:19 +00:00
|
|
|
.byte DIRECTION_N ; north exit_dir
|
2020-04-15 17:30:23 +00:00
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word arrival_n_lzsa ; north bg
|
|
|
|
.word arrival_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH|BG_NORTH
|
|
|
|
.byte $ff
|
2020-05-31 02:43:19 +00:00
|
|
|
|
|
|
|
; CHANNEL_PATH2 -- twisty maze of passages all alike
|
2020-06-16 18:55:45 +00:00
|
|
|
location1:
|
2020-06-05 15:54:50 +00:00
|
|
|
.byte CHANNEL_PATH6 ; north exit
|
2020-05-31 02:43:19 +00:00
|
|
|
.byte CHANNEL_ARRIVAL ; south exit
|
|
|
|
.byte CHANNEL_PATH3 ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-06-05 15:54:50 +00:00
|
|
|
.byte DIRECTION_N ; north exit_dir
|
2020-05-31 02:43:19 +00:00
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte DIRECTION_E ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word path2_n_lzsa ; north bg
|
|
|
|
.word path2_s_lzsa ; south bg
|
|
|
|
.word path2_e_lzsa ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH|BG_NORTH|BG_EAST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; CHANNEL_PATH3 -- twisty maze of passages all alike
|
2020-06-16 18:55:45 +00:00
|
|
|
location2:
|
2020-06-05 15:54:50 +00:00
|
|
|
.byte CHANNEL_PATH4 ; north exit
|
2020-05-31 02:43:19 +00:00
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte CHANNEL_BRIDGE ; east exit
|
|
|
|
.byte CHANNEL_PATH2 ; west exit
|
2020-06-05 15:54:50 +00:00
|
|
|
.byte DIRECTION_W ; north exit_dir
|
2020-05-31 02:43:19 +00:00
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte DIRECTION_E ; east exit_dir
|
|
|
|
.byte DIRECTION_S ; west exit_dir
|
|
|
|
.word path3_n_lzsa ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word path3_e_lzsa ; east bg
|
|
|
|
.word path3_w_lzsa ; west bg
|
|
|
|
.byte BG_NORTH|BG_WEST|BG_EAST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; CHANNEL_BRIDGE -- raisable bridge
|
2020-06-16 18:55:45 +00:00
|
|
|
location3:
|
2020-05-31 02:43:19 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte CHANNEL_PATH3 ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte DIRECTION_E ; east exit_dir
|
|
|
|
.byte DIRECTION_W ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word bridge_down_e_lzsa ; east bg
|
|
|
|
.word bridge_w_lzsa ; west bg
|
|
|
|
.byte BG_WEST|BG_EAST
|
2020-06-13 04:27:13 +00:00
|
|
|
.byte DIRECTION_E ; special exit
|
|
|
|
.byte 14,20 ; special x
|
|
|
|
.byte 28,36 ; special y
|
|
|
|
.word raise_bridge-1
|
2020-05-31 02:43:19 +00:00
|
|
|
|
2020-06-05 15:54:50 +00:00
|
|
|
; CHANNEL_PATH4 -- twisty maze of passages all alike
|
2020-06-16 18:55:45 +00:00
|
|
|
location4:
|
2020-06-05 15:54:50 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte CHANNEL_PATH3 ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte CHANNEL_PATH5 ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte DIRECTION_E ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte DIRECTION_N ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word path4_s_lzsa ; south bg
|
|
|
|
.word path4_e_lzsa ; east bg
|
|
|
|
.word path4_w_lzsa ; west bg
|
|
|
|
.byte BG_SOUTH|BG_WEST|BG_EAST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; CHANNEL_PATH5 -- twisty maze of passages all alike
|
2020-06-16 18:55:45 +00:00
|
|
|
location5:
|
2020-06-08 04:45:38 +00:00
|
|
|
.byte CHANNEL_STEPS_FORK ; north exit
|
2020-06-05 15:54:50 +00:00
|
|
|
.byte CHANNEL_PATH6 ; south exit
|
|
|
|
.byte CHANNEL_PATH4 ; east exit
|
|
|
|
.byte $ff ; west exit
|
2020-06-08 04:45:38 +00:00
|
|
|
.byte DIRECTION_N ; north exit_dir
|
2020-06-05 15:54:50 +00:00
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte DIRECTION_E ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word path5_n_lzsa ; north bg
|
|
|
|
.word path5_s_lzsa ; south bg
|
|
|
|
.word path5_e_lzsa ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH|BG_EAST
|
|
|
|
.byte $ff
|
2020-05-31 02:43:19 +00:00
|
|
|
|
2020-06-05 15:54:50 +00:00
|
|
|
; CHANNEL_PATH6 -- twisty maze of passages all alike
|
2020-06-16 18:55:45 +00:00
|
|
|
location6:
|
2020-06-05 15:54:50 +00:00
|
|
|
.byte CHANNEL_PATH5 ; north exit
|
|
|
|
.byte CHANNEL_PATH2 ; south exit
|
|
|
|
.byte $ff ; east exit
|
2020-06-07 04:49:38 +00:00
|
|
|
.byte CHANNEL_FORK ; west exit
|
2020-06-05 15:54:50 +00:00
|
|
|
.byte DIRECTION_N ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
2020-06-07 04:49:38 +00:00
|
|
|
.byte DIRECTION_S ; west exit_dir
|
2020-06-05 15:54:50 +00:00
|
|
|
.word path6_n_lzsa ; north bg
|
|
|
|
.word path6_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word path6_w_lzsa ; west bg
|
|
|
|
.byte BG_NORTH|BG_WEST|BG_SOUTH
|
|
|
|
.byte $ff
|
2020-05-31 02:43:19 +00:00
|
|
|
|
2020-06-07 04:49:38 +00:00
|
|
|
; CHANNEL_FORK -- forked path
|
2020-06-16 18:55:45 +00:00
|
|
|
location7:
|
2020-06-07 04:49:38 +00:00
|
|
|
.byte CHANNEL_PATH6 ; north exit
|
|
|
|
.byte CHANNEL_PIPE_BRIDGE2 ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte CHANNEL_BEFORE_ELEV1 ; west exit
|
|
|
|
.byte DIRECTION_N ; north exit_dir
|
|
|
|
.byte DIRECTION_W ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte DIRECTION_W ; west exit_dir
|
|
|
|
.word fork_n_lzsa ; north bg
|
|
|
|
.word fork_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word fork_w_lzsa ; west bg
|
|
|
|
.byte BG_NORTH|BG_WEST|BG_SOUTH
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; CHANNEL_BEFORE_ELEV1 -- just befor elevator 1
|
2020-06-16 18:55:45 +00:00
|
|
|
location8:
|
2020-06-07 04:49:38 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte CHANNEL_FORK ; east exit
|
2020-06-17 17:39:52 +00:00
|
|
|
.byte CHANNEL_ELEV1_OPEN ; west exit
|
2020-06-07 04:49:38 +00:00
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte DIRECTION_N ; east exit_dir
|
2020-06-17 17:39:52 +00:00
|
|
|
.byte DIRECTION_W ; west exit_dir
|
2020-06-07 04:49:38 +00:00
|
|
|
.word $0000 ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word before_elev1_e_lzsa ; east bg
|
|
|
|
.word before_elev1_w_lzsa ; west bg
|
|
|
|
.byte BG_EAST|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
2020-06-17 17:39:52 +00:00
|
|
|
; CHANNEL_IN_ELEV1_OPEN -- inside elevator1, door open
|
2020-06-16 18:55:45 +00:00
|
|
|
location9:
|
2020-06-07 04:49:38 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte CHANNEL_BEFORE_ELEV1 ; 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 $0000 ; south bg
|
|
|
|
.word elevator1_open_lzsa ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_EAST
|
2020-06-17 17:39:52 +00:00
|
|
|
.byte DIRECTION_E ; special exit
|
|
|
|
.byte 10,17 ; special x
|
|
|
|
.byte 6,46 ; special y
|
|
|
|
.word elev1_close_door-1 ; special function
|
|
|
|
|
2020-06-07 04:49:38 +00:00
|
|
|
|
|
|
|
; CHANNEL_PIPE_BRIDGE2 -- east side of pipe bridge
|
2020-06-16 18:55:45 +00:00
|
|
|
location10:
|
2020-06-07 04:49:38 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte CHANNEL_FORK ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte DIRECTION_N ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word pipe_bridge2_e_lzsa ; east bg
|
|
|
|
.word pipe_bridge2_w_lzsa ; west bg
|
|
|
|
.byte BG_EAST|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
2020-06-08 04:45:38 +00:00
|
|
|
; CHANNEL_STEPS_FORK -- fork going to steps
|
2020-06-16 18:55:45 +00:00
|
|
|
location11:
|
2020-06-08 04:45:38 +00:00
|
|
|
.byte CHANNEL_WIND_PATH ; north exit
|
|
|
|
.byte CHANNEL_PATH5 ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte CHANNEL_STEPS_PATH ; west exit
|
|
|
|
.byte DIRECTION_N ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte DIRECTION_W ; west exit_dir
|
|
|
|
.word steps_fork_n_lzsa ; north bg
|
|
|
|
.word steps_fork_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word steps_fork_w_lzsa ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; CHANNEL_STEPS_PATH -- path going to steps
|
2020-06-16 18:55:45 +00:00
|
|
|
location12:
|
2020-06-08 04:45:38 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte CHANNEL_STEPS_FORK ; east exit
|
|
|
|
.byte CHANNEL_STEPS_DOOR ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte DIRECTION_N ; east exit_dir
|
|
|
|
.byte DIRECTION_W ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word steps_path_e_lzsa ; east bg
|
|
|
|
.word steps_path_w_lzsa ; west bg
|
|
|
|
.byte BG_EAST|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; CHANNEL_STEPS_DOOR -- door to the steps
|
2020-06-16 18:55:45 +00:00
|
|
|
location13:
|
2020-06-08 04:45:38 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte CHANNEL_STEPS_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 $0000 ; south bg
|
|
|
|
.word steps_door_e_lzsa ; east bg
|
|
|
|
.word steps_door_w_lzsa ; west bg
|
|
|
|
.byte BG_EAST|BG_WEST
|
2020-06-25 21:17:46 +00:00
|
|
|
.byte DIRECTION_W ; special exit
|
|
|
|
.byte 13,27 ; special x
|
|
|
|
.byte 4,42 ; special y
|
|
|
|
.word climb_steps-1 ; special function
|
2020-06-08 04:45:38 +00:00
|
|
|
|
|
|
|
; CHANNEL_WIND_PATH -- path to windmill
|
2020-06-16 18:55:45 +00:00
|
|
|
location14:
|
2020-06-09 06:22:42 +00:00
|
|
|
.byte CHANNEL_WIND_PATH2 ; north exit
|
2020-06-08 04:45:38 +00:00
|
|
|
.byte CHANNEL_STEPS_FORK ; 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 wind_path_n_lzsa ; north bg
|
|
|
|
.word wind_path_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
|
|
|
.byte $ff
|
|
|
|
|
2020-06-09 06:22:42 +00:00
|
|
|
; CHANNEL_WIND_PATH2 -- path to windmill too
|
2020-06-16 18:55:45 +00:00
|
|
|
location15:
|
2020-06-09 06:22:42 +00:00
|
|
|
.byte CHANNEL_ISLAND1 ; north exit
|
|
|
|
.byte CHANNEL_WIND_PATH ; 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 wind_path2_n_lzsa ; north bg
|
|
|
|
.word wind_path2_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; CHANNEL_ISLAND1 -- island part1
|
2020-06-16 18:55:45 +00:00
|
|
|
location16:
|
2020-06-09 06:22:42 +00:00
|
|
|
.byte CHANNEL_ISLAND2 ; north exit
|
|
|
|
.byte CHANNEL_WIND_PATH2 ; 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 island1_n_lzsa ; north bg
|
|
|
|
.word island1_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; CHANNEL_ISLAND2 -- island part2
|
2020-06-16 18:55:45 +00:00
|
|
|
location17:
|
2020-06-09 06:22:42 +00:00
|
|
|
.byte CHANNEL_ISLAND3 ; north exit
|
|
|
|
.byte CHANNEL_ISLAND1 ; 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 island2_n_lzsa ; north bg
|
|
|
|
.word island2_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; CHANNEL_ISLAND3 -- island part3
|
2020-06-16 18:55:45 +00:00
|
|
|
location18:
|
2020-06-11 06:27:36 +00:00
|
|
|
.byte CHANNEL_SHACK ; north exit
|
2020-06-09 06:22:42 +00:00
|
|
|
.byte CHANNEL_ISLAND2 ; 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 island3_n_lzsa ; north bg
|
|
|
|
.word island3_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
|
|
|
.byte $ff
|
|
|
|
|
2020-06-11 06:27:36 +00:00
|
|
|
; CHANNEL_SHACK -- island shack
|
2020-06-16 18:55:45 +00:00
|
|
|
location19:
|
2020-06-11 06:27:36 +00:00
|
|
|
.byte CHANNEL_TANK ; north exit
|
|
|
|
.byte CHANNEL_ISLAND3 ; 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 shack_n_lzsa ; north bg
|
|
|
|
.word shack_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
|
|
|
.byte $ff
|
2020-06-08 04:45:38 +00:00
|
|
|
|
2020-06-11 06:27:36 +00:00
|
|
|
; CHANNEL_TANK -- inside shack
|
2020-06-16 18:55:45 +00:00
|
|
|
location20:
|
2020-06-11 06:27:36 +00:00
|
|
|
.byte CHANNEL_WINDMILL ; north exit
|
|
|
|
.byte CHANNEL_SHACK ; 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 tank_n_lzsa ; north bg
|
|
|
|
.word tank_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
2020-06-11 06:39:38 +00:00
|
|
|
.byte DIRECTION_N ; special exit
|
|
|
|
.byte 25,32 ; special x
|
|
|
|
.byte 40,46 ; special y
|
|
|
|
.word look_at_faucet-1 ; special function
|
2020-06-07 04:49:38 +00:00
|
|
|
|
2020-06-11 06:27:36 +00:00
|
|
|
; CHANNEL_TANK_CLOSE -- the faucet
|
2020-06-16 18:55:45 +00:00
|
|
|
location21:
|
2020-06-11 06:27:36 +00:00
|
|
|
.byte CHANNEL_TANK ; 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 tank_close_lzsa ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH
|
2020-06-11 06:39:38 +00:00
|
|
|
.byte DIRECTION_N ; special exit
|
|
|
|
.byte 15,25 ; special x
|
|
|
|
.byte 18,32 ; special y
|
|
|
|
.word toggle_faucet-1 ; special function
|
2020-06-11 06:27:36 +00:00
|
|
|
|
|
|
|
; CHANNEL_WINDMILL -- windmill machinery
|
2020-06-16 18:55:45 +00:00
|
|
|
location22:
|
2020-06-11 06:27:36 +00:00
|
|
|
.byte CHANNEL_OUT_BACK ; north exit
|
|
|
|
.byte CHANNEL_TANK ; 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 windmill_n_lzsa ; north bg
|
|
|
|
.word windmill_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
2020-06-11 06:39:38 +00:00
|
|
|
.byte DIRECTION_N ; special exit
|
|
|
|
.byte 10,15 ; special x
|
|
|
|
.byte 30,38 ; special y
|
|
|
|
.word toggle_windmill-1 ; special function
|
2020-06-11 06:27:36 +00:00
|
|
|
|
|
|
|
; CHANNEL_OUT_BACK -- back door of windmill
|
2020-06-16 18:55:45 +00:00
|
|
|
location23:
|
2020-06-11 06:27:36 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte CHANNEL_WINDMILL ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word outback_n_lzsa ; north bg
|
|
|
|
.word outback_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
|
|
|
.byte $ff
|
2020-06-12 21:37:23 +00:00
|
|
|
|
|
|
|
; CHANNEL_AFTER_BRIDGE1 -- after lift bridge
|
2020-06-16 18:55:45 +00:00
|
|
|
location24:
|
2020-06-12 21:37:23 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte CHANNEL_AFTER_BRIDGE2 ; east exit
|
|
|
|
.byte CHANNEL_BRIDGE ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte DIRECTION_E ; east exit_dir
|
2020-06-13 04:27:13 +00:00
|
|
|
.byte DIRECTION_W ; west exit_dir
|
2020-06-12 21:37:23 +00:00
|
|
|
.word $0000 ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word after_bridge1_e_lzsa ; east bg
|
|
|
|
.word after_bridge1_w_lzsa ; west bg
|
|
|
|
.byte BG_EAST|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; CHANNEL_AFTER_BRIDGE2 -- next after lift bridge
|
2020-06-16 18:55:45 +00:00
|
|
|
location25:
|
2020-06-12 21:37:23 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
2020-06-13 04:27:13 +00:00
|
|
|
.byte CHANNEL_BOOK_FORK ; east exit
|
|
|
|
.byte CHANNEL_AFTER_BRIDGE1 ; west exit
|
2020-06-12 21:37:23 +00:00
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte DIRECTION_N ; east exit_dir
|
|
|
|
.byte DIRECTION_W ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word after_bridge2_e_lzsa ; east bg
|
|
|
|
.word after_bridge2_w_lzsa ; west bg
|
|
|
|
.byte BG_EAST|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; CHANNEL_BOOK_FORK -- fork to book elevator
|
2020-06-16 18:55:45 +00:00
|
|
|
location26:
|
2020-06-16 05:10:33 +00:00
|
|
|
.byte CHANNEL_BOOK_ELEVATOR ; north exit
|
2020-06-15 04:36:55 +00:00
|
|
|
.byte CHANNEL_PIPE_EXTEND ; south exit
|
2020-06-12 21:37:23 +00:00
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte CHANNEL_AFTER_BRIDGE2 ; west exit
|
2020-06-16 05:10:33 +00:00
|
|
|
.byte DIRECTION_N ; north exit_dir
|
2020-06-15 04:36:55 +00:00
|
|
|
.byte DIRECTION_S ; south exit_dir
|
2020-06-12 21:37:23 +00:00
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte DIRECTION_W ; west exit_dir
|
|
|
|
.word book_fork_n_lzsa ; north bg
|
|
|
|
.word book_fork_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
2020-06-13 04:27:13 +00:00
|
|
|
.word book_fork_w_lzsa ; west bg
|
2020-06-12 21:37:23 +00:00
|
|
|
.byte BG_NORTH|BG_SOUTH|BG_WEST
|
|
|
|
.byte $ff
|
|
|
|
|
2020-06-15 04:36:55 +00:00
|
|
|
; CHANNEL_PIPE_EXTEND -- pipe extender
|
2020-06-16 18:55:45 +00:00
|
|
|
location27:
|
2020-06-15 04:36:55 +00:00
|
|
|
.byte CHANNEL_BOOK_FORK ; 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 pipe_extend_n_lzsa ; north bg
|
|
|
|
.word pipe_extend_down_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
|
|
|
.byte DIRECTION_S ; special exit
|
|
|
|
.byte 17,24 ; special x
|
|
|
|
.byte 34,40 ; special y
|
|
|
|
.word extend_pipe-1 ; special function
|
|
|
|
|
2020-06-16 05:10:33 +00:00
|
|
|
; CHANNEL_BOOK_ELEVATOR -- outside book elevator, door closed
|
2020-06-16 18:55:45 +00:00
|
|
|
location28:
|
2020-06-16 05:10:33 +00:00
|
|
|
.byte CHANNEL_BOOK_E_OPEN ; north exit
|
|
|
|
.byte CHANNEL_BOOK_FORK ; 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 book_elevator_closed_n_lzsa ; north bg
|
|
|
|
.word book_elevator_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
|
|
|
.byte $ff ; special exit
|
|
|
|
|
|
|
|
; CHANNEL_E_OPEN -- outside book elevator, door open
|
2020-06-16 18:55:45 +00:00
|
|
|
location29:
|
2020-06-16 05:10:33 +00:00
|
|
|
.byte CHANNEL_BOOK_E_INSIDE_GND ; north exit
|
|
|
|
.byte CHANNEL_BOOK_FORK ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte DIRECTION_S ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word book_elevator_open_n_lzsa ; north bg
|
|
|
|
.word book_elevator_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_NORTH|BG_SOUTH
|
|
|
|
.byte $ff ; special exit
|
|
|
|
|
|
|
|
; CHANNEL_BOOK_E_INSIDE_GND -- inside book elevator, gnd, door open
|
2020-06-16 18:55:45 +00:00
|
|
|
location30:
|
2020-06-16 05:10:33 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte CHANNEL_BOOK_ELEVATOR ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word $ff ; north bg
|
|
|
|
.word book_elevator_inside_gnd_open_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH
|
|
|
|
.byte DIRECTION_S ; special exit
|
|
|
|
.byte 10,17 ; special x
|
|
|
|
.byte 6,46 ; special y
|
|
|
|
.word book_elevator_close_door-1 ; special function
|
|
|
|
|
|
|
|
; CHANNEL_BOOK_E_IN_CLOSED -- inside book elevator, door closed
|
2020-06-16 18:55:45 +00:00
|
|
|
location31:
|
2020-06-16 05:10:33 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte CHANNEL_BOOK_E_INSIDE_GND ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word $ff ; north bg
|
|
|
|
.word book_elevator_inside_gnd_closed_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH
|
|
|
|
.byte DIRECTION_S ; special exit
|
|
|
|
.byte 28,34 ; special x
|
|
|
|
.byte 28,36 ; special y
|
|
|
|
.word book_elevator_handle-1 ; special function
|
|
|
|
|
|
|
|
; CHANNEL_BOOK_E_INSIDE_TOP -- inside book elevator, top, door open
|
2020-06-16 18:55:45 +00:00
|
|
|
location32:
|
2020-06-16 05:10:33 +00:00
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte CHANNEL_BOOK_ROOM ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word $ff ; north bg
|
|
|
|
.word book_elevator_inside_top_open_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH
|
|
|
|
.byte DIRECTION_S ; special exit
|
|
|
|
.byte 10,17 ; special x
|
|
|
|
.byte 6,46 ; special y
|
|
|
|
.word book_elevator_close_door-1 ; special function
|
|
|
|
|
|
|
|
; CHANNEL_BOOK_ROOM -- the room with the myst book
|
2020-06-16 18:55:45 +00:00
|
|
|
location33:
|
2020-06-16 05:10:33 +00:00
|
|
|
.byte CHANNEL_BOOK_E_INSIDE_TOP ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte DIRECTION_S ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word book_room_n_lzsa ; north bg
|
|
|
|
.word book_room_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH|BG_NORTH
|
|
|
|
.byte DIRECTION_S ; special function
|
|
|
|
.byte 15,23 ; special x
|
|
|
|
.byte 30,44 ; special y
|
|
|
|
.word book_room_grab_book-1 ; special function
|
|
|
|
|
|
|
|
; CHANNEL_BOOK_CLOSED -- myst book closed
|
2020-06-16 18:55:45 +00:00
|
|
|
location34:
|
2020-06-16 05:10:33 +00:00
|
|
|
.byte CHANNEL_BOOK_E_INSIDE_TOP ; north exit
|
|
|
|
.byte CHANNEL_BOOK_OPEN ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte DIRECTION_S ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word book_room_n_lzsa ; north bg
|
|
|
|
.word book_mist_closed_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH|BG_NORTH
|
|
|
|
.byte $ff ; special function
|
|
|
|
|
|
|
|
; CHANNEL_BOOK_OPEN -- myst book open
|
2020-06-16 18:55:45 +00:00
|
|
|
location35:
|
2020-06-16 05:10:33 +00:00
|
|
|
.byte CHANNEL_BOOK_E_INSIDE_TOP ; north exit
|
|
|
|
.byte CHANNEL_BOOK_ROOM ; south exit
|
|
|
|
.byte $ff ; east exit
|
|
|
|
.byte $ff ; west exit
|
|
|
|
.byte DIRECTION_S ; north exit_dir
|
|
|
|
.byte DIRECTION_S ; south exit_dir
|
|
|
|
.byte $ff ; east exit_dir
|
|
|
|
.byte $ff ; west exit_dir
|
|
|
|
.word book_room_n_lzsa ; north bg
|
|
|
|
.word book_mist_open_s_lzsa ; south bg
|
|
|
|
.word $0000 ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_SOUTH|BG_NORTH
|
|
|
|
.byte DIRECTION_S
|
|
|
|
.byte 24,32 ; special x
|
|
|
|
.byte 12,22 ; special y
|
|
|
|
.word mist_link_book-1 ; special function
|
2020-06-15 04:36:55 +00:00
|
|
|
|
2020-06-17 17:39:52 +00:00
|
|
|
; CHANNEL_ELEV1_OPEN -- outside elevator1, open
|
|
|
|
location36:
|
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte CHANNEL_FORK ; east exit
|
|
|
|
.byte CHANNEL_IN_ELEV1_OPEN ; west exit
|
|
|
|
.byte $ff ; north exit_dir
|
|
|
|
.byte $ff ; south exit_dir
|
|
|
|
.byte DIRECTION_N ; east exit_dir
|
|
|
|
.byte DIRECTION_E ; west exit_dir
|
|
|
|
.word $0000 ; north bg
|
|
|
|
.word $0000 ; south bg
|
|
|
|
.word before_elev1_e_lzsa ; east bg
|
|
|
|
.word before_elev1_open_w_lzsa ; west bg
|
|
|
|
.byte BG_WEST|BG_EAST
|
|
|
|
.byte $ff
|
|
|
|
|
|
|
|
; CHANNEL_IN_ELEV1_CLOSED -- inside elevator1, closed
|
|
|
|
location37:
|
|
|
|
.byte $ff ; north exit
|
|
|
|
.byte $ff ; south exit
|
|
|
|
.byte CHANNEL_IN_ELEV1_OPEN ; 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 $0000 ; south bg
|
|
|
|
.word elevator1_closed_lzsa ; east bg
|
|
|
|
.word $0000 ; west bg
|
|
|
|
.byte BG_EAST
|
|
|
|
.byte DIRECTION_E ; special exit
|
|
|
|
.byte 26,34 ; special x
|
|
|
|
.byte 28,36 ; special y
|
|
|
|
.word elev1_handle-1 ; special function
|
|
|
|
|