Fix new apple hidden underneath snake body

This commit is contained in:
Andrew Alderwick 2021-11-02 23:40:42 +00:00
parent 3747574cf9
commit 8926bbab2a
1 changed files with 1 additions and 1 deletions

View File

@ -70,6 +70,7 @@ BRK
( clear ) #00 ;draw-snake JSR2
( update ) ;move JSR2
( draw ) #02 .snake/dead LDZ + ;draw-snake JSR2
#83 ;draw-apple JSR2
( score ) .snake/length LDZ #41 ;draw-score JSR2
( reset ) #00 .arena/timer STZ
@ -168,7 +169,6 @@ RTN
.arena/w LDZ MOD .apple/x STZ
.DateTime/hour DEI2 .DateTime/minute DEI2 MUL2 #abcd MUL2 +
.arena/h LDZ MOD .apple/y STZ
#83 ;draw-apple JSR2
RTN