mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-30 07:30:04 +00:00
ootw: slug starts on right
This commit is contained in:
parent
540d9e795c
commit
6b60366552
@ -341,10 +341,10 @@ no_keypress_c:
|
||||
; draw slugs
|
||||
;==================================
|
||||
|
||||
slugg0_out: .byte $1
|
||||
slugg0_x: .byte $01
|
||||
slugg0_dir: .byte $1
|
||||
slugg0_gait: .byte $0
|
||||
slugg0_out: .byte 1
|
||||
slugg0_x: .byte 30
|
||||
slugg0_dir: .byte $ff
|
||||
slugg0_gait: .byte 0
|
||||
|
||||
; ___ _-_
|
||||
|
||||
@ -369,6 +369,9 @@ slug_move:
|
||||
cmp #37
|
||||
beq remove_slug
|
||||
|
||||
cmp #0
|
||||
beq remove_slug
|
||||
|
||||
slug_no_move:
|
||||
|
||||
lda slugg0_gait
|
||||
@ -393,7 +396,10 @@ slug_selected:
|
||||
|
||||
lda slugg0_x
|
||||
sta XPOS
|
||||
|
||||
lda #34
|
||||
sec
|
||||
sbc EARTH_OFFSET
|
||||
sta YPOS
|
||||
|
||||
lda DIRECTION
|
||||
|
Loading…
Reference in New Issue
Block a user