1
0
mirror of https://github.com/fumiama/c64-snake.git synced 2026-06-27 15:30:33 +08:00

更改食物生成逻辑

This commit is contained in:
fumiama
2021-04-05 22:53:53 +08:00
parent 16b49bd98d
commit 120b67a7e9
5 changed files with 16 additions and 29 deletions

View File

@@ -52,7 +52,9 @@ addfood:
beq -
cmp #cblk
beq -
lda #csnk
cmp #crnd
beq -
lda #crnd
dey
sta (_ptr), y
rts