mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-06 06:30:36 +00:00
mist: stoney: have airlock doorknobs glow in the dark
This commit is contained in:
parent
1cb5bc68f4
commit
828e099e7f
@ -153,6 +153,11 @@ dont_touch_lights:
|
|||||||
beq handle_doorway_light
|
beq handle_doorway_light
|
||||||
cmp #STONEY_LEFT_TUNNEL1
|
cmp #STONEY_LEFT_TUNNEL1
|
||||||
beq handle_doorway_light
|
beq handle_doorway_light
|
||||||
|
cmp #STONEY_LEFT_AIRLOCK
|
||||||
|
beq handle_airlock_doorknob
|
||||||
|
cmp #STONEY_RIGHT_AIRLOCK
|
||||||
|
beq handle_airlock_doorknob
|
||||||
|
|
||||||
bne not_a_doorway
|
bne not_a_doorway
|
||||||
|
|
||||||
handle_doorway1:
|
handle_doorway1:
|
||||||
@ -164,6 +169,9 @@ handle_doorway2:
|
|||||||
handle_doorway_light:
|
handle_doorway_light:
|
||||||
jsr draw_light_doorway
|
jsr draw_light_doorway
|
||||||
jmp not_a_doorway
|
jmp not_a_doorway
|
||||||
|
handle_airlock_doorknob:
|
||||||
|
jsr draw_airlock_doorknob
|
||||||
|
jmp not_a_doorway
|
||||||
|
|
||||||
not_a_doorway:
|
not_a_doorway:
|
||||||
|
|
||||||
|
@ -1108,6 +1108,19 @@ draw_doorway2:
|
|||||||
done_doorway:
|
done_doorway:
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
draw_airlock_doorknob:
|
||||||
|
lda DIRECTION
|
||||||
|
cmp #DIRECTION_N
|
||||||
|
bne done_doorway
|
||||||
|
|
||||||
|
ldx #16
|
||||||
|
lda #<airlock_doorknob_list
|
||||||
|
sta INL
|
||||||
|
lda #>airlock_doorknob_list
|
||||||
|
sta INH
|
||||||
|
jmp hlin_list
|
||||||
|
|
||||||
|
|
||||||
draw_light_doorway:
|
draw_light_doorway:
|
||||||
lda DIRECTION
|
lda DIRECTION
|
||||||
cmp #DIRECTION_S
|
cmp #DIRECTION_S
|
||||||
@ -1181,3 +1194,9 @@ doorway_light_list:
|
|||||||
.byte $ff,19,2
|
.byte $ff,19,2
|
||||||
.byte $ff,$ff,$ff
|
.byte $ff,$ff,$ff
|
||||||
|
|
||||||
|
|
||||||
|
; at 16
|
||||||
|
airlock_doorknob_list:
|
||||||
|
.byte $d0,19,2
|
||||||
|
.byte $ff,$ff,$ff
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user