mist: selenetic: add some missing bunker backgrounds

This commit is contained in:
Vince Weaver 2020-05-29 20:58:00 -04:00
parent 01bee14480
commit 83d9a706e9
17 changed files with 155 additions and 20 deletions

View File

@ -240,9 +240,12 @@ SELENA_ANTENNA_STEPS = 40
SELENA_ANTENNA = 41
SELENA_ANTENNA_OPEN = 42
SELENA_ANTENNA_CLOSE = 43
SELENA_BOOK_HALLWAY = 44
SELENA_INSIDE_SUB = 45
SELENA_SUB_HALLWAY = 46
SELENA_BUNKER_ENTRY = 47
SELENA_BUNKER_OPEN = 48
SELENA_BUNKER_KEYPAD = 49
; Viewer Room

View File

@ -18,8 +18,8 @@ selena_graphics.inc: \
spaceship_door_s.lzsa \
walkway4_n.lzsa walkway4_s.lzsa \
bunker_n.lzsa bunker_s.lzsa bunker_e.lzsa \
subroom_s.lzsa \
book_table_s.lzsa \
subroom_s.lzsa subroom_n.lzsa \
book_table_n.lzsa book_table_s.lzsa \
book_mist_open_s.lzsa book_mist_closed_s.lzsa \
water_turn_n.lzsa water_turn_s.lzsa water_turn_w.lzsa \
water_path_e.lzsa water_path_w.lzsa \
@ -47,7 +47,13 @@ selena_graphics.inc: \
ladder_top.lzsa ladder_middle.lzsa ladder_bottom.lzsa \
tunnel_e.lzsa tunnel_w.lzsa tunnel_basement.lzsa \
tunnel_note_n.lzsa \
tunnel_main_n.lzsa tunnel_main_s.lzsa
tunnel_main_n.lzsa tunnel_main_s.lzsa \
book_hallway_n.lzsa book_hallway_s.lzsa \
inside_sub_e.lzsa inside_sub_w.lzsa \
bunker_keypad_e.lzsa \
bunker_open_e.lzsa \
bunker_entry_e.lzsa bunker_entry_w.lzsa \
sub_hallway_e.lzsa sub_hallway_w.lzsa
echo "controls_e_lzsa: .incbin \"controls_e.lzsa\"" > selena_graphics.inc
echo "organ_w_lzsa: .incbin \"organ_w.lzsa\"" >> selena_graphics.inc
echo "spaceship_inside_w_lzsa: .incbin \"spaceship_inside_w.lzsa\"" >> selena_graphics.inc
@ -63,7 +69,9 @@ selena_graphics.inc: \
echo "bunker_s_lzsa: .incbin \"bunker_s.lzsa\"" >> selena_graphics.inc
echo "bunker_e_lzsa: .incbin \"bunker_e.lzsa\"" >> selena_graphics.inc
echo "subroom_s_lzsa: .incbin \"subroom_s.lzsa\"" >> selena_graphics.inc
echo "subroom_n_lzsa: .incbin \"subroom_n.lzsa\"" >> selena_graphics.inc
echo "book_table_s_lzsa: .incbin \"book_table_s.lzsa\"" >> selena_graphics.inc
echo "book_table_n_lzsa: .incbin \"book_table_n.lzsa\"" >> selena_graphics.inc
echo "book_mist_open_s_lzsa: .incbin \"book_mist_open_s.lzsa\"" >> selena_graphics.inc
echo "book_mist_closed_s_lzsa: .incbin \"book_mist_closed_s.lzsa\"" >> selena_graphics.inc
echo "water_turn_n_lzsa: .incbin \"water_turn_n.lzsa\"" >> selena_graphics.inc
@ -127,6 +135,17 @@ selena_graphics.inc: \
echo "tunnel_note_n_lzsa: .incbin \"tunnel_note_n.lzsa\"" >> selena_graphics.inc
echo "tunnel_main_n_lzsa: .incbin \"tunnel_main_n.lzsa\"" >> selena_graphics.inc
echo "tunnel_main_s_lzsa: .incbin \"tunnel_main_s.lzsa\"" >> selena_graphics.inc
echo "book_hallway_n_lzsa: .incbin \"book_hallway_n.lzsa\"" >> selena_graphics.inc
echo "book_hallway_s_lzsa: .incbin \"book_hallway_s.lzsa\"" >> selena_graphics.inc
echo "inside_sub_e_lzsa: .incbin \"inside_sub_e.lzsa\"" >> selena_graphics.inc
echo "inside_sub_w_lzsa: .incbin \"inside_sub_w.lzsa\"" >> selena_graphics.inc
echo "bunker_keypad_e_lzsa: .incbin \"bunker_keypad_e.lzsa\"" >> selena_graphics.inc
echo "bunker_open_e_lzsa: .incbin \"bunker_open_e.lzsa\"" >> selena_graphics.inc
echo "bunker_entry_e_lzsa: .incbin \"bunker_entry_e.lzsa\"" >> selena_graphics.inc
echo "bunker_entry_w_lzsa: .incbin \"bunker_entry_w.lzsa\"" >> selena_graphics.inc
echo "sub_hallway_e_lzsa: .incbin \"sub_hallway_e.lzsa\"" >> selena_graphics.inc
echo "sub_hallway_w_lzsa: .incbin \"sub_hallway_w.lzsa\"" >> selena_graphics.inc
%.gr: %.png
$(PNG2GR) $< $@

Binary file not shown.

After

Width:  |  Height:  |  Size: 890 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 888 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 995 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1007 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -15,7 +15,8 @@ locations:
.word location32,location33,location34,location35
.word location36,location37,location38,location39
.word location40,location41,location42,location43
.word location44,location45,location46,location47
.word location48,location49
; SELENA_INSIDE_SHIP -- Inside Ship
location0:
@ -134,11 +135,11 @@ location5:
location6:
.byte SELENA_WATER_TURN ; north exit
.byte SELENA_WALKWAY4 ; south exit
.byte SELENA_SUB_ROOM ; east exit
.byte SELENA_BUNKER_KEYPAD ; east exit
.byte $ff ; west exit
.byte DIRECTION_N ; north exit_dir
.byte DIRECTION_S ; south exit_dir
.byte DIRECTION_S ; east exit_dir
.byte DIRECTION_E ; east exit_dir
.byte $ff ; west exit_dir
.word bunker_n_lzsa ; north bg
.word bunker_s_lzsa ; south bg
@ -149,36 +150,36 @@ location6:
; SELENA_SUB_ROOM -- sub room
location7:
.byte $ff ; north exit
.byte SELENA_BOOK_ROOM ; south exit
.byte SELENA_SUB_HALLWAY ; north exit
.byte SELENA_INSIDE_SUB ; south exit
.byte $ff ; east exit
.byte $ff ; west exit
.byte $ff ; north exit_dir
.byte DIRECTION_S ; south exit_dir
.byte DIRECTION_W ; north exit_dir
.byte DIRECTION_E ; south exit_dir
.byte $ff ; east exit_dir
.byte $ff ; west exit_dir
.word $0000 ; north bg
.word subroom_n_lzsa ; north bg
.word subroom_s_lzsa ; south bg
.word $0000 ; east bg
.word $0000 ; west bg
.byte BG_SOUTH
.byte BG_SOUTH|BG_NORTH
.byte $ff
; SELENA_BOOK_ROOM -- book room
location8:
.byte $ff ; north exit
.byte SELENA_BOOK_HALLWAY ; north exit
.byte SELENA_BOOK_CLOSED ; south exit
.byte $ff ; east exit
.byte $ff ; west exit
.byte $ff ; north exit_dir
.byte DIRECTION_N ; 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_n_lzsa ; north bg
.word book_table_s_lzsa ; south bg
.word $0000 ; east bg
.word $0000 ; west bg
.byte BG_SOUTH
.byte BG_SOUTH|BG_NORTH
.byte $ff
; SELENA_BOOK_CLOSED -- book
@ -551,7 +552,7 @@ location29:
; SELENA_TUNNEL_MAINLAND -- mainland tunnel entrance
location30:
.byte SELENA_TUNNEL_MAIN_CLOSE; north exit
.byte SELENA_TUNNEL_STEPS ; south exit
.byte SELENA_TUNNEL_PATH ; south exit
.byte $ff ; east exit
.byte $ff ; west exit
.byte DIRECTION_N ; north exit_dir
@ -805,3 +806,108 @@ location43:
.byte BG_WEST
.byte $ff
; SELENA_BOOK_HALLWAY -- hallway to the book room
location44:
.byte SELENA_INSIDE_SUB ; north exit
.byte SELENA_BOOK_ROOM ; south exit
.byte $ff ; east exit
.byte $ff ; west exit
.byte DIRECTION_E ; north exit_dir
.byte DIRECTION_S ; south exit_dir
.byte $ff ; east exit_dir
.byte $ff ; west exit_dir
.word book_hallway_n_lzsa ; north bg
.word book_hallway_s_lzsa ; south bg
.word $0000 ; east bg
.word $0000 ; west bg
.byte BG_NORTH|BG_SOUTH
.byte $ff
; SELENA_INSIDE_SUB -- inside the submarine
location45:
.byte $ff ; north exit
.byte $ff ; south exit
.byte $ff ; east exit
.byte SELENA_BOOK_HALLWAY ; west exit
.byte $ff ; north exit_dir
.byte $ff ; south exit_dir
.byte $ff ; east exit_dir
.byte DIRECTION_S ; west exit_dir
.word $0000 ; north bg
.word $0000 ; south bg
.word inside_sub_e_lzsa ; east bg
.word inside_sub_w_lzsa ; west bg
.byte BG_EAST|BG_WEST
.byte $ff
; SELENA_SUB_HALLWAY -- hallway to the sub room
location46:
.byte $ff ; north exit
.byte $ff ; south exit
.byte SELENA_SUB_ROOM ; east exit
.byte SELENA_BUNKER_ENTRY ; 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 sub_hallway_e_lzsa ; east bg
.word sub_hallway_w_lzsa ; west bg
.byte BG_EAST|BG_WEST
.byte $ff
; SELENA_BUNKER_ENTRY -- entryway inside bunker
location47:
.byte $ff ; north exit
.byte $ff ; south exit
.byte SELENA_SUB_HALLWAY ; east exit
.byte SELENA_BUNKER ; west exit
.byte $ff ; north exit_dir
.byte $ff ; south exit_dir
.byte DIRECTION_E ; east exit_dir
.byte DIRECTION_N ; west exit_dir
.word $0000 ; north bg
.word $0000 ; south bg
.word bunker_entry_e_lzsa ; east bg
.word bunker_entry_w_lzsa ; west bg
.byte BG_EAST|BG_WEST
.byte $ff
; SELENA_BUNKER_OPEN -- bunker with door open
location48:
.byte SELENA_WATER_TURN ; north exit
.byte SELENA_WALKWAY4 ; south exit
.byte SELENA_BUNKER_ENTRY ; east exit
.byte $ff ; west exit
.byte DIRECTION_N ; north exit_dir
.byte DIRECTION_S ; south exit_dir
.byte DIRECTION_E ; east exit_dir
.byte $ff ; west exit_dir
.word bunker_n_lzsa ; north bg
.word bunker_s_lzsa ; south bg
.word bunker_open_e_lzsa ; east bg
.word $0000 ; west bg
.byte BG_NORTH|BG_SOUTH|BG_EAST
.byte $ff
; SELENA_BUNKER_KEYPAD -- bunker keypad
location49:
.byte $ff ; north exit
.byte $ff ; south exit
.byte SELENA_BUNKER ; 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 bunker_keypad_e_lzsa ; east bg
.word $0000 ; west bg
.byte BG_EAST
.byte DIRECTION_E ; special exit
.byte 12,28 ; special x
.byte 10,32 ; special y
.word keypad_press-1 ; special function

View File

@ -369,6 +369,13 @@ antenna_mid_down:
bne update_tunnel_e
;==============================
; keypad actions
keypad_press:
lda #SELENA_BUNKER_OPEN
sta LOCATION
jmp change_location
;==========================
; includes
;==========================