aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/main.s b/main.s
index 8d908fa..705a9f1 100644
--- a/main.s
+++ b/main.s
@@ -540,6 +540,14 @@ new_apple: ; {{{
CLC
ADC #$3D
STA apple.y
+
+ LDA apple.x
+ STA body_test_x
+ LDA apple.y
+ STA body_test_y
+ JSR test_body_collision
+ CMP #$01
+ BEQ new_apple
RTS ; }}}
draw_sprite_at_head: ; {{{
LDA #$20