mist: add switch at spaceship

This commit is contained in:
Vince Weaver 2020-03-05 12:28:11 -05:00
parent 5c740c0f35
commit 74de7c1d5e
5 changed files with 33 additions and 10 deletions

View File

@ -25,11 +25,12 @@ Move sound to language card (meaning no sound on II+ w/o language card)
Marker Switches (8): Marker Switches (8):
+ * Dock + * Dock
+ * Gears + * Gears
+ Dentist + * Dentist
+ * Pool + * Pool
+ Spaceship + * Spaceship
+ Clock + Clock
+ Cabin + Cabin
+ Generator
Fireplace: Fireplace:
+ 8x6 grid + 8x6 grid
@ -42,9 +43,9 @@ Fireplace:
+ close-in clock + close-in clock
+ clock with gears up + clock with gears up
+ clock switch + clock switch
+ dentist switch + * dentist switch
+ looking back from dentist switch + * looking back from dentist switch
+ spaceship switch + * spaceship switch
+ open gear + open gear
+ gear linking book + gear linking book
+ fireplace close + fireplace close

View File

@ -33,7 +33,8 @@ mist_graphics.inc: \
tree5_n.lzsa tree5_e.lzsa \ tree5_n.lzsa tree5_e.lzsa \
gear_n.lzsa gear_w.lzsa gear_s.lzsa \ gear_n.lzsa gear_w.lzsa gear_s.lzsa \
gear_base_n.lzsa \ gear_base_n.lzsa \
dentist_door_n.lzsa dentist_door_s.lzsa dentist_door_n.lzsa dentist_door_s.lzsa \
spaceship_switch_n.lzsa
echo "m_link_book_lzsa: .incbin \"m_link_book.lzsa\"" > mist_graphics.inc echo "m_link_book_lzsa: .incbin \"m_link_book.lzsa\"" > mist_graphics.inc
echo "dock_n_lzsa: .incbin \"dock_n.lzsa\"" >> mist_graphics.inc echo "dock_n_lzsa: .incbin \"dock_n.lzsa\"" >> mist_graphics.inc
echo "dock_s_lzsa: .incbin \"dock_s.lzsa\"" >> mist_graphics.inc echo "dock_s_lzsa: .incbin \"dock_s.lzsa\"" >> mist_graphics.inc
@ -84,7 +85,7 @@ mist_graphics.inc: \
echo "gear_base_n_lzsa: .incbin \"gear_base_n.lzsa\"" >> mist_graphics.inc echo "gear_base_n_lzsa: .incbin \"gear_base_n.lzsa\"" >> mist_graphics.inc
echo "dentist_door_n_lzsa: .incbin \"dentist_door_n.lzsa\"" >> mist_graphics.inc echo "dentist_door_n_lzsa: .incbin \"dentist_door_n.lzsa\"" >> mist_graphics.inc
echo "dentist_door_s_lzsa: .incbin \"dentist_door_s.lzsa\"" >> mist_graphics.inc echo "dentist_door_s_lzsa: .incbin \"dentist_door_s.lzsa\"" >> mist_graphics.inc
echo "spaceship_switch_n_lzsa: .incbin \"spaceship_switch_n.lzsa\"" >> mist_graphics.inc
%.gr: %.png %.gr: %.png

View File

@ -48,3 +48,4 @@ gear_w_lzsa: .incbin "gear_w.lzsa"
gear_base_n_lzsa: .incbin "gear_base_n.lzsa" gear_base_n_lzsa: .incbin "gear_base_n.lzsa"
dentist_door_n_lzsa: .incbin "dentist_door_n.lzsa" dentist_door_n_lzsa: .incbin "dentist_door_n.lzsa"
dentist_door_s_lzsa: .incbin "dentist_door_s.lzsa" dentist_door_s_lzsa: .incbin "dentist_door_s.lzsa"
spaceship_switch_n_lzsa: .incbin "spaceship_switch_n.lzsa"

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

View File

@ -816,7 +816,7 @@ locations:
.word location8, location9, location10,location11 .word location8, location9, location10,location11
.word location12,location13,location14,location15 .word location12,location13,location14,location15
.word location16,location17,location18,location19 .word location16,location17,location18,location19
.word location20,location21 .word location20,location21,location22
; myst linking book ; myst linking book
location0: location0:
@ -1143,11 +1143,11 @@ location15:
; spaceship far ; spaceship far
location16: location16:
.byte 16 ; north exit .byte 22 ; north exit
.byte $ff ; south exit .byte $ff ; south exit
.byte 10 ; east exit .byte 10 ; east exit
.byte $ff ; west exit .byte $ff ; west exit
.byte DIRECTION_E ; north exit_dir .byte DIRECTION_N ; north exit_dir
.byte $ff ; south exit_dir .byte $ff ; south exit_dir
.byte DIRECTION_E ; east exit_dir .byte DIRECTION_E ; east exit_dir
.byte $ff ; west exit_dir .byte $ff ; west exit_dir
@ -1263,6 +1263,26 @@ location21:
.word $0000 ; special function .word $0000 ; special function
.byte BG_NORTH | BG_SOUTH .byte BG_NORTH | BG_SOUTH
; spaceship switch
location22:
.byte 16 ; 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
.byte $ff ; special exit
.word spaceship_switch_n_lzsa ; north bg
.word $0000 ; south bg
.word $0000 ; east bg
.word $0000 ; west bg
.byte $ff,$ff ; special x
.byte $ff,$ff ; special y
.word $0000 ; special function
.byte BG_NORTH