mist: sub: add some more rooms in the sub level

temporarily can't escape
This commit is contained in:
Vince Weaver
2020-08-01 16:09:58 -04:00
parent 9295bb91de
commit 0a0c4d31a4
8 changed files with 58 additions and 8 deletions

View File

@@ -266,7 +266,8 @@ SUB_BOOK_HALLWAY = 4
SUB_BOOK_ROOM = 5
SUB_BOOK_CLOSED = 6
SUB_BOOK_OPEN = 7
SUB_HALLWAY2 = 8
SUB_CLOSE = 9
; Viewer Room

View File

@@ -37,13 +37,20 @@
.byte OCTAGON_CENTER ; LOCATION = $82
.endif
.if 1
.if 0
; Selena
.byte LOAD_SELENA ; WHICH_LOAD = $80
.byte DIRECTION_N ; DIRECTION = $81
.byte SELENA_WALKWAY1 ; LOCATION = $82
.endif
.if 1
; Sub
.byte LOAD_SUB ; WHICH_LOAD = $80
.byte DIRECTION_E ; DIRECTION = $81
.byte SUB_BUNKER_ENTRY ; LOCATION = $82
.endif
.if 1
.byte $00 ; RED_PAGES_TAKEN = $83

View File

@@ -16,7 +16,9 @@ sub_graphics.inc: \
book_hallway_n.lzsa book_hallway_s.lzsa \
inside_sub_e.lzsa inside_sub_w.lzsa \
bunker_entry_e.lzsa bunker_entry_w.lzsa \
sub_hallway_e.lzsa sub_hallway_w.lzsa
sub_hallway_e.lzsa sub_hallway_w.lzsa \
sub_hallway2_e.lzsa sub_hallway2_w.lzsa \
sub_close_n.lzsa sub_close_s.lzsa
echo "subroom_s_lzsa: .incbin \"subroom_s.lzsa\"" > sub_graphics.inc
echo "subroom_n_lzsa: .incbin \"subroom_n.lzsa\"" >> sub_graphics.inc
echo "book_table_s_lzsa: .incbin \"book_table_s.lzsa\"" >> sub_graphics.inc
@@ -29,8 +31,12 @@ sub_graphics.inc: \
echo "bunker_entry_w_lzsa: .incbin \"bunker_entry_w.lzsa\"" >> sub_graphics.inc
echo "sub_hallway_e_lzsa: .incbin \"sub_hallway_e.lzsa\"" >> sub_graphics.inc
echo "sub_hallway_w_lzsa: .incbin \"sub_hallway_w.lzsa\"" >> sub_graphics.inc
echo "sub_hallway2_e_lzsa: .incbin \"sub_hallway2_e.lzsa\"" >> sub_graphics.inc
echo "sub_hallway2_w_lzsa: .incbin \"sub_hallway2_w.lzsa\"" >> sub_graphics.inc
echo "book_hallway_n_lzsa: .incbin \"book_hallway_n.lzsa\"" >> sub_graphics.inc
echo "book_hallway_s_lzsa: .incbin \"book_hallway_s.lzsa\"" >> sub_graphics.inc
echo "sub_close_n_lzsa: .incbin \"sub_close_n.lzsa\"" >> sub_graphics.inc
echo "sub_close_s_lzsa: .incbin \"sub_close_s.lzsa\"" >> sub_graphics.inc
%.gr: %.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 B

View File

@@ -6,6 +6,7 @@
locations:
.word location0, location1, location2, location3
.word location4, location5, location6, location7
.word location8, location9
; SUB_BUNKER_ENTRY -- entryway inside bunker
location0:
@@ -31,11 +32,11 @@ location0:
location1:
.byte $ff ; north exit
.byte $ff ; south exit
.byte SUB_ROOM ; east exit
.byte SUB_HALLWAY2 ; east exit
.byte SUB_BUNKER_ENTRY ; west exit
.byte $ff ; north exit_dir
.byte $ff ; south exit_dir
.byte DIRECTION_S ; east exit_dir
.byte DIRECTION_E ; east exit_dir
.byte DIRECTION_W ; west exit_dir
.word $0000 ; north bg
.word $0000 ; south bg
@@ -46,12 +47,12 @@ location1:
; SUB_ROOM -- sub room
location2:
.byte SUB_HALLWAY ; north exit
.byte SUB_INSIDE_SUB ; south exit
.byte SUB_HALLWAY2 ; north exit
.byte SUB_CLOSE ; south exit
.byte $ff ; east exit
.byte $ff ; west exit
.byte DIRECTION_W ; north exit_dir
.byte DIRECTION_E ; south exit_dir
.byte DIRECTION_S ; south exit_dir
.byte $ff ; east exit_dir
.byte $ff ; west exit_dir
.word subroom_n_lzsa ; north bg
@@ -149,3 +150,38 @@ location7:
.byte 12,22 ; special y
.word mist_link_book-1 ; special function
; SUB_HALLWAY2 -- another hallway to the sub room
location8:
.byte $ff ; north exit
.byte $ff ; south exit
.byte SUB_ROOM ; east exit
.byte SUB_HALLWAY ; 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_hallway2_e_lzsa ; east bg
.word sub_hallway2_w_lzsa ; west bg
.byte BG_EAST|BG_WEST
.byte $ff
; SUB_CLOSE -- standing close to the sub
location9:
.byte SUB_ROOM ; 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 sub_close_n_lzsa ; north bg
.word sub_close_s_lzsa ; south bg
.word $0000 ; east bg
.word $0000 ; west bg
.byte BG_NORTH|BG_SOUTH
.byte $ff