mist: can get closer to some things

This commit is contained in:
Vince Weaver 2020-04-01 11:00:10 -04:00
parent 1bcc2b29c3
commit ec22cc583f
5 changed files with 44 additions and 8 deletions

View File

@ -122,7 +122,8 @@ OCTAGON_FRAME_SHELF = 7
OCTAGON_BOOKSHELF = 8
OCTAGON_FRAME_DOOR = 9
OCTAGON_BLUE_BOOKSHELF = 10
OCTAGON_TOWER_ROTATION = 11
OCTAGON_BOOKSHELF_CLOSE = 12
; Mechanical Engineering

View File

@ -21,8 +21,8 @@ octagon_graphics.inc: \
frame_door_open.lzsa \
frame_bookcase_open.lzsa \
blue_book_shelf.lzsa \
bookshelf_n.lzsa \
map.lzsa
bookshelf_n.lzsa bookshelf_close_n.lzsa \
map.lzsa tower_rotation.lzsa
echo "temple_door_n_lzsa: .incbin \"temple_door_n.lzsa\"" > octagon_graphics.inc
echo "temple_door_s_lzsa: .incbin \"temple_door_s.lzsa\"" >> octagon_graphics.inc
echo "temple_center_n_lzsa: .incbin \"temple_center_n.lzsa\"" >> octagon_graphics.inc
@ -42,7 +42,9 @@ octagon_graphics.inc: \
echo "frame_bookcase_open_lzsa: .incbin \"frame_bookcase_open.lzsa\"" >> octagon_graphics.inc
echo "blue_book_shelf_lzsa: .incbin \"blue_book_shelf.lzsa\"" >> octagon_graphics.inc
echo "bookshelf_n_lzsa: .incbin \"bookshelf_n.lzsa\"" >> octagon_graphics.inc
echo "bookshelf_close_n_lzsa: .incbin \"bookshelf_close_n.lzsa\"" >> octagon_graphics.inc
echo "map_lzsa: .incbin \"map.lzsa\"" >> octagon_graphics.inc
echo "tower_rotation_lzsa: .incbin \"tower_rotation.lzsa\"" >> octagon_graphics.inc
%.gr: %.png
$(PNG2GR) $< $@

Binary file not shown.

After

Width:  |  Height:  |  Size: 882 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 873 B

View File

@ -6,7 +6,8 @@
locations:
.word location0, location1, location2, location3
.word location4, location5, location6, location7
.word location8, location9, location10
.word location8, location9, location10,location11
.word location12
; OCTAGON_TEMPLE_DOORWAY -- temple doorway
location0:
@ -126,11 +127,11 @@ location6:
.byte $ff ; north exit
.byte $ff ; south exit
.byte $ff ; east exit
.byte OCTAGON_TEMPLE_CENTER ; west exit
.byte OCTAGON_TOWER_ROTATION ; west exit
.byte $ff ; north exit_dir
.byte $ff ; south exit_dir
.byte $ff ; east exit_dir
.byte DIRECTION_W|DIRECTION_ONLY_POINT ; west exit_dir
.byte DIRECTION_W ; west exit_dir
.word $0000 ; north bg
.word $0000 ; south bg
.word $0000 ; east bg
@ -158,11 +159,11 @@ location7:
; OCTAGON_BOOKSHELF -- the bookcase
location8:
.byte OCTAGON_TEMPLE_CENTER ; north exit
.byte OCTAGON_BOOKSHELF_CLOSE ; north exit
.byte $ff ; south exit
.byte $ff ; east exit
.byte $ff ; west exit
.byte DIRECTION_N|DIRECTION_ONLY_POINT ; north exit_dir
.byte DIRECTION_N ; north exit_dir
.byte $ff ; south exit_dir
.byte $ff ; east exit_dir
.byte $ff ; west exit_dir
@ -207,4 +208,36 @@ location10:
.byte BG_EAST
.byte $ff
; OCTAGON_TOWER_ROTATION -- looking at tower rotation
location11:
.byte $ff ; north exit
.byte $ff ; south exit
.byte $ff ; east exit
.byte OCTAGON_TEMPLE_CENTER ; west exit
.byte $ff ; north exit_dir
.byte $ff ; south exit_dir
.byte $ff ; east exit_dir
.byte DIRECTION_W|DIRECTION_ONLY_POINT ; west exit_dir
.word $0000 ; north bg
.word $0000 ; south bg
.word $0000 ; east bg
.word tower_rotation_lzsa ; west bg
.byte BG_WEST
.byte $ff
; OCTAGON_BOOKSHELF_CLOSE -- the bookcase close in
location12:
.byte OCTAGON_TEMPLE_CENTER ; north exit
.byte $ff ; south exit
.byte $ff ; east exit
.byte $ff ; west exit
.byte DIRECTION_N|DIRECTION_ONLY_POINT ; north exit_dir
.byte $ff ; south exit_dir
.byte $ff ; east exit_dir
.byte $ff ; west exit_dir
.word bookshelf_close_n_lzsa ; north bg
.word $0000 ; south bg
.word $0000 ; east bg
.word $0000 ; west bg
.byte BG_NORTH
.byte $ff