mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-14 13:33:48 +00:00
ootw: c2: left collision now working
This commit is contained in:
parent
3ddad85fbb
commit
c4458e90b4
@ -392,7 +392,7 @@ calc_gun_left_shield_loop:
|
|||||||
; be sure closer than current max limit
|
; be sure closer than current max limit
|
||||||
lda LEFT_SHOOT_LIMIT
|
lda LEFT_SHOOT_LIMIT
|
||||||
cmp shield_x,X
|
cmp shield_x,X
|
||||||
bcc calc_gun_left_shield_continue ; blt
|
bcs calc_gun_left_shield_continue ; bge
|
||||||
|
|
||||||
calc_gun_left_shield_there:
|
calc_gun_left_shield_there:
|
||||||
|
|
||||||
@ -430,7 +430,7 @@ calc_gun_left_friend:
|
|||||||
; only if closer than previous found
|
; only if closer than previous found
|
||||||
lda LEFT_SHOOT_LIMIT
|
lda LEFT_SHOOT_LIMIT
|
||||||
cmp friend_x
|
cmp friend_x
|
||||||
bcc calc_gun_left_friend_continue ; blt
|
bcs calc_gun_left_friend_continue ; bge
|
||||||
|
|
||||||
lda friend_state
|
lda friend_state
|
||||||
cmp #F_DISINTEGRATING
|
cmp #F_DISINTEGRATING
|
||||||
@ -472,7 +472,7 @@ calc_gun_left_alien_loop:
|
|||||||
; only if closer than previous found
|
; only if closer than previous found
|
||||||
lda LEFT_SHOOT_LIMIT
|
lda LEFT_SHOOT_LIMIT
|
||||||
cmp alien_x,X
|
cmp alien_x,X
|
||||||
bcc calc_gun_left_alien_continue ; blt
|
bcs calc_gun_left_alien_continue ; bge
|
||||||
|
|
||||||
lda alien_state,X
|
lda alien_state,X
|
||||||
cmp #A_DISINTEGRATING
|
cmp #A_DISINTEGRATING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user