ootw: l4: fix bug when blasting door to the left (txa vs tax, urgh)

This commit is contained in:
Vince Weaver 2019-08-16 14:13:06 -04:00
parent fe2e5f3959
commit e1d57cbef8

View File

@ -27,7 +27,7 @@ fire_blast:
sbc #10
sta GUN_CHARGE
; reset count
; reset blast count
lda #0
sta blast0_count
@ -240,7 +240,6 @@ done_move_blast:
;=====================
; hit something, left
;=====================
disable_blast_left:
lda #0
sta blast0_out
@ -248,7 +247,6 @@ disable_blast_left:
lda LEFT_SHOOT_TARGET
beq done_disable_blast_left
tax
and #$f0
@ -276,7 +274,7 @@ blast_alien_left:
blast_door_left:
tax
txa
and #$f0
cmp #TARGET_DOOR
bne done_disable_blast_left