mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-28 02:55:03 +00:00
mist: can click a switch
This commit is contained in:
parent
6e668a3363
commit
81e4c994e7
20
mist/mist.s
20
mist/mist.s
@ -630,6 +630,18 @@ wait_done_letter:
|
|||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
click_switch:
|
||||||
|
|
||||||
|
; click
|
||||||
|
|
||||||
|
bit $C030
|
||||||
|
bit $C030
|
||||||
|
|
||||||
|
|
||||||
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;==========================
|
;==========================
|
||||||
; includes
|
; includes
|
||||||
;==========================
|
;==========================
|
||||||
@ -767,14 +779,14 @@ location2:
|
|||||||
.byte DIRECTION_S ; south exit_dir
|
.byte DIRECTION_S ; south exit_dir
|
||||||
.byte $ff ; east exit_dir
|
.byte $ff ; east exit_dir
|
||||||
.byte $ff ; west exit_dir
|
.byte $ff ; west exit_dir
|
||||||
.byte $ff ; special exit
|
.byte $00 ; special exit
|
||||||
.word dock_switch_n_rle ; north bg
|
.word dock_switch_n_rle ; north bg
|
||||||
.word dock_switch_s_rle ; south bg
|
.word dock_switch_s_rle ; south bg
|
||||||
.word $0000 ; east bg
|
.word $0000 ; east bg
|
||||||
.word $0000 ; west bg
|
.word $0000 ; west bg
|
||||||
.byte $ff,$ff ; special x
|
.byte 23,30 ; special x
|
||||||
.byte $ff,$ff ; special y
|
.byte 25,32 ; special y
|
||||||
.word $0000 ; special function
|
.word click_switch-1 ; special function
|
||||||
.byte BG_NORTH|BG_SOUTH
|
.byte BG_NORTH|BG_SOUTH
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user