ootw: c1: can run-jump over the slugs if you're careful

This commit is contained in:
Vince Weaver 2019-08-19 16:47:15 -04:00
parent 155bbe846f
commit 7ce483dad1

View File

@ -106,8 +106,7 @@ init_slug_loop:
; Mark slug as out and alive
; lda #1
lda #0
lda #1
sta slugg0_out,X
@ -220,9 +219,15 @@ check_attack:
cmp #30
bne no_attack
lda PHYSICIST_Y ; only attack if physicist on ground
cmp #22
bne no_attack
; lda PHYSICIST_Y ; only attack if physicist on ground
; cmp #22
; bne no_attack
lda PHYSICIST_STATE ; don't attack if jumping
cmp #P_JUMPING
beq no_attack
cmp #P_JUMPING|STATE_RUNNING
beq no_attack
lda PHYSICIST_X
sec