-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrosses.asm
48 lines (35 loc) · 994 Bytes
/
crosses.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
draw_missed_crosses:
lda #0
sta CurrentEnemy
lda #0
sta TestPosition
lda #100
ldb #-100
jsr Moveto_d
draw_missed_crosses_loop
lda CurrentEnemy
cmpa EnemiesMissed
beq draw_missed_crosses_over
jsr draw_single_missed_cross
inc CurrentEnemy
lda TestPosition
adda #30
sta TestPosition
jmp draw_missed_crosses_loop
draw_missed_crosses_over
lda #-100
ldb #100
jsr Moveto_d
rts
draw_single_missed_cross
lda #0
ldb TestPosition
jsr Moveto_d
ldx #cross_list
jsr Draw_VLc
lda #0
ldb TestPosition
nega
negb
jsr Moveto_d
rts