mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-28 09:30:41 +00:00
mist: start hooking up th circuit breaker towers
This commit is contained in:
parent
64eb1fabb7
commit
8bfd4c26a7
@ -2,12 +2,14 @@
|
||||
; draw pointer
|
||||
;====================================
|
||||
|
||||
lda CURSOR_VISIBLE
|
||||
bne draw_pointer
|
||||
jmp no_draw_pointer
|
||||
|
||||
draw_pointer:
|
||||
|
||||
lda CURSOR_VISIBLE
|
||||
bne really_draw_pointer
|
||||
jmp no_draw_pointer
|
||||
|
||||
really_draw_pointer:
|
||||
|
||||
; point sprite to right location
|
||||
|
||||
|
@ -6,6 +6,8 @@
|
||||
|
||||
circuit_breaker:
|
||||
|
||||
bit $C030 ; click speaker
|
||||
|
||||
lda LOCATION
|
||||
cmp #42
|
||||
bne other_circuit_breaker
|
||||
|
@ -53,7 +53,11 @@ mist_graphics.inc: \
|
||||
pad_n.lzsa pad_e.lzsa \
|
||||
spaceship_door_n.lzsa spaceship_door_open_n.lzsa \
|
||||
tower2_base_w.lzsa tower2_top_w.lzsa \
|
||||
tower2_path_e.lzsa tower2_path_n.lzsa
|
||||
tower2_path_e.lzsa tower2_path_n.lzsa \
|
||||
tower1_trail_w.lzsa tower1_trail_e.lzsa \
|
||||
tower1_trail2_n.lzsa tower1_trail2_w.lzsa tower1_trail2_s.lzsa \
|
||||
tower1_base_e.lzsa \
|
||||
tower1_top_e.lzsa
|
||||
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_s_lzsa: .incbin \"dock_s.lzsa\"" >> mist_graphics.inc
|
||||
@ -144,6 +148,13 @@ mist_graphics.inc: \
|
||||
echo "tower2_top_w_lzsa: .incbin \"tower2_top_w.lzsa\"" >> mist_graphics.inc
|
||||
echo "tower2_path_e_lzsa: .incbin \"tower2_path_e.lzsa\"" >> mist_graphics.inc
|
||||
echo "tower2_path_n_lzsa: .incbin \"tower2_path_n.lzsa\"" >> mist_graphics.inc
|
||||
echo "tower1_trail_w_lzsa: .incbin \"tower1_trail_w.lzsa\"" >> mist_graphics.inc
|
||||
echo "tower1_trail_e_lzsa: .incbin \"tower1_trail_e.lzsa\"" >> mist_graphics.inc
|
||||
echo "tower1_trail2_n_lzsa: .incbin \"tower1_trail2_n.lzsa\"" >> mist_graphics.inc
|
||||
echo "tower1_trail2_w_lzsa: .incbin \"tower1_trail2_w.lzsa\"" >> mist_graphics.inc
|
||||
echo "tower1_trail2_s_lzsa: .incbin \"tower1_trail2_s.lzsa\"" >> mist_graphics.inc
|
||||
echo "tower1_base_e_lzsa: .incbin \"tower1_base_e.lzsa\"" >> mist_graphics.inc
|
||||
echo "tower1_top_e_lzsa: .incbin \"tower1_top_e.lzsa\"" >> mist_graphics.inc
|
||||
|
||||
|
||||
%.gr: %.png
|
||||
|
@ -88,3 +88,10 @@ tower2_base_w_lzsa: .incbin "tower2_base_w.lzsa"
|
||||
tower2_top_w_lzsa: .incbin "tower2_top_w.lzsa"
|
||||
tower2_path_e_lzsa: .incbin "tower2_path_e.lzsa"
|
||||
tower2_path_n_lzsa: .incbin "tower2_path_n.lzsa"
|
||||
tower1_trail_w_lzsa: .incbin "tower1_trail_w.lzsa"
|
||||
tower1_trail_e_lzsa: .incbin "tower1_trail_e.lzsa"
|
||||
tower1_trail2_n_lzsa: .incbin "tower1_trail2_n.lzsa"
|
||||
tower1_trail2_w_lzsa: .incbin "tower1_trail2_w.lzsa"
|
||||
tower1_trail2_s_lzsa: .incbin "tower1_trail2_s.lzsa"
|
||||
tower1_base_e_lzsa: .incbin "tower1_base_e.lzsa"
|
||||
tower1_top_e_lzsa: .incbin "tower1_top_e.lzsa"
|
||||
|
BIN
mist/graphics_mist/tower1_base_e.png
Normal file
BIN
mist/graphics_mist/tower1_base_e.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
mist/graphics_mist/tower1_top_e.png
Normal file
BIN
mist/graphics_mist/tower1_top_e.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
mist/graphics_mist/tower1_trail2_n.png
Normal file
BIN
mist/graphics_mist/tower1_trail2_n.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
BIN
mist/graphics_mist/tower1_trail2_s.png
Normal file
BIN
mist/graphics_mist/tower1_trail2_s.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
mist/graphics_mist/tower1_trail_e.png
Normal file
BIN
mist/graphics_mist/tower1_trail_e.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 996 B |
BIN
mist/graphics_mist/tower1_trail_w.png
Normal file
BIN
mist/graphics_mist/tower1_trail_w.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
@ -43,7 +43,8 @@ locations:
|
||||
.word location28,location29,location30,location31
|
||||
.word location32,location33,location34,location35
|
||||
.word location36,location37,location38,location39
|
||||
.word location40,location41,location42
|
||||
.word location40,location41,location42,location43
|
||||
.word location44,location45,location46
|
||||
|
||||
; myst linking book
|
||||
location0:
|
||||
@ -239,7 +240,7 @@ location10:
|
||||
.byte DIRECTION_N ; north exit_dir
|
||||
.byte DIRECTION_S ; south exit_dir
|
||||
.byte DIRECTION_E ; east exit_dir
|
||||
.byte DIRECTION_N ; west exit_dir
|
||||
.byte DIRECTION_N|DIRECTION_ONLY_POINT ; west exit_dir
|
||||
.word step_top_n_lzsa ; north bg
|
||||
.word step_top_s_lzsa ; south bg
|
||||
.word step_top_e_lzsa ; east bg
|
||||
@ -731,7 +732,10 @@ location37:
|
||||
.word pad_e_lzsa ; east bg
|
||||
.word $0000 ; west bg
|
||||
.byte BG_NORTH | BG_EAST
|
||||
.byte $ff
|
||||
.byte DIRECTION_N
|
||||
.byte 0,20 ; special x
|
||||
.byte 0,48 ; special y
|
||||
.word pad_special-1 ; special function
|
||||
|
||||
; rocket close in
|
||||
location38:
|
||||
@ -776,7 +780,7 @@ location40:
|
||||
.byte $ff ; south exit
|
||||
.byte 37 ; east exit
|
||||
.byte $ff ; west exit
|
||||
.byte DIRECTION_W ; north exit_dir
|
||||
.byte DIRECTION_W|DIRECTION_ONLY_POINT ; north exit_dir
|
||||
.byte $ff ; south exit_dir
|
||||
.byte DIRECTION_E ; east exit_dir
|
||||
.byte $ff ; west exit_dir
|
||||
@ -792,17 +796,20 @@ location41:
|
||||
.byte $ff ; north exit
|
||||
.byte $ff ; south exit
|
||||
.byte $ff ; east exit
|
||||
.byte 42 ; west exit
|
||||
.byte 40 ; west exit
|
||||
.byte $ff ; north exit_dir
|
||||
.byte $ff ; south exit_dir
|
||||
.byte $ff ; east exit_dir
|
||||
.byte DIRECTION_W ; west exit_dir
|
||||
.byte DIRECTION_N ; west exit_dir
|
||||
.word $0000 ; north bg
|
||||
.word $0000 ; south bg
|
||||
.word $0000 ; east bg
|
||||
.word tower2_base_w_lzsa ; west bg
|
||||
.byte BG_WEST
|
||||
.byte $ff
|
||||
.byte DIRECTION_W ; special exit
|
||||
.byte 13,27 ; special x
|
||||
.byte 0,46 ; special y
|
||||
.word leave_tower2-1 ; special function
|
||||
|
||||
; tower2 top
|
||||
location42:
|
||||
@ -813,7 +820,7 @@ location42:
|
||||
.byte $ff ; north exit_dir
|
||||
.byte $ff ; south exit_dir
|
||||
.byte $ff ; east exit_dir
|
||||
.byte DIRECTION_W ; west exit_dir
|
||||
.byte DIRECTION_W|DIRECTION_ONLY_POINT ; west exit_dir
|
||||
.word $0000 ; north bg
|
||||
.word $0000 ; south bg
|
||||
.word $0000 ; east bg
|
||||
@ -821,7 +828,73 @@ location42:
|
||||
.byte BG_WEST
|
||||
.byte DIRECTION_W ; special exit
|
||||
.byte 17,22 ; special x
|
||||
.byte 12,18 ; special y
|
||||
.byte 10,18 ; special y
|
||||
.word circuit_breaker-1 ; special function
|
||||
|
||||
; tower1 trail
|
||||
location43:
|
||||
.byte $ff ; north exit
|
||||
.byte $ff ; south exit
|
||||
.byte 23 ; east exit
|
||||
.byte 44 ; 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 tower1_trail_e_lzsa ; east bg
|
||||
.word tower1_trail_w_lzsa ; west bg
|
||||
.byte BG_WEST|BG_EAST
|
||||
.byte $ff
|
||||
|
||||
; tower1 trail2
|
||||
location44:
|
||||
.byte 45 ; north exit
|
||||
.byte 43 ; south exit
|
||||
.byte $ff ; east exit
|
||||
.byte $ff ; west exit
|
||||
.byte DIRECTION_E ; north exit_dir
|
||||
.byte DIRECTION_E ; south exit_dir
|
||||
.byte $ff ; east exit_dir
|
||||
.byte $ff ; west exit_dir
|
||||
.word tower1_trail2_n_lzsa ; north bg
|
||||
.word tower1_trail2_s_lzsa ; south bg
|
||||
.word $0000 ; east bg
|
||||
.word tower1_trail2_w_lzsa ; west bg
|
||||
.byte BG_NORTH|BG_SOUTH|BG_WEST
|
||||
.byte $ff
|
||||
|
||||
; tower1 bottom
|
||||
location45:
|
||||
.byte $ff ; north exit
|
||||
.byte $ff ; south exit
|
||||
.byte 46 ; 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 tower1_base_e_lzsa ; east bg
|
||||
.word $0000 ; west bg
|
||||
.byte BG_EAST
|
||||
.byte $ff
|
||||
|
||||
; tower1 top
|
||||
location46:
|
||||
.byte $ff ; north exit
|
||||
.byte $ff ; south exit
|
||||
.byte 45 ; 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 tower1_top_e_lzsa ; east bg
|
||||
.word $0000 ; west bg
|
||||
.byte BG_EAST
|
||||
.byte $ff
|
||||
|
18
mist/mist.s
18
mist/mist.s
@ -177,7 +177,8 @@ room_frame_no_oflo:
|
||||
really_exit:
|
||||
jmp end_level
|
||||
|
||||
|
||||
;=================
|
||||
; special exits
|
||||
|
||||
go_to_meche:
|
||||
lda #LOAD_MECHE
|
||||
@ -189,6 +190,21 @@ go_to_meche:
|
||||
rts
|
||||
|
||||
|
||||
pad_special:
|
||||
lda #40
|
||||
sta LOCATION
|
||||
jsr change_location
|
||||
|
||||
rts
|
||||
|
||||
leave_tower2:
|
||||
lda #42
|
||||
sta LOCATION
|
||||
jsr change_location
|
||||
|
||||
rts
|
||||
|
||||
|
||||
;==========================
|
||||
; includes
|
||||
;==========================
|
||||
|
Loading…
Reference in New Issue
Block a user