Minor changes

This commit is contained in:
Pecusx
2022-06-02 21:40:09 +02:00
parent 0fbe3de569
commit 6013986e51
2 changed files with 4 additions and 3 deletions
+4 -3
View File
@@ -43,9 +43,9 @@
;cpw ybyte #screenheight ;cpw ybyte #screenheight
;bcc DrawOnTheScreen ;bcc DrawOnTheScreen
lda ydraw+1 lda ydraw+1
bne DrawOutOfTheScreen bmi DrawOutOfTheScreen
lda ybyte+1 lda ybyte+1
beq DrawOnTheScreen bpl DrawOnTheScreen
DrawOutOfTheScreen DrawOutOfTheScreen
;jsr DrawJumpPad ;jsr DrawJumpPad
rts rts
@@ -230,13 +230,14 @@ yestrace
jsr plot jsr plot
notrace notrace
;aftertrace ;aftertrace
;key
lda HitFlag lda HitFlag
bne StopHitChecking bne StopHitChecking
CheckCollisionDraw CheckCollisionDraw
; checking collision! ; checking collision!
lda ydraw+1 lda ydraw+1
bne StopHitChecking bmi StopHitChecking
jsr CheckCollisionWithTank jsr CheckCollisionWithTank
lda HitFlag lda HitFlag
BIN
View File
Binary file not shown.