fix end-case false match

This commit is contained in:
Peter Ferrie 2019-06-27 13:33:21 -07:00
parent 0135887519
commit 66a8ed99f6

View File

@ -106,7 +106,7 @@ TextRankCallback
cpy gamelength cpy gamelength
iny iny
bcc -- bcc --
rts ; no match :( -- rts ; no match :(
+ +
ldx #80 ldx #80
cpy startat cpy startat
@ -127,6 +127,8 @@ TextRankCallback
bcc + bcc +
inc runningscore+1 inc runningscore+1
+ iny + iny
cpy gamelength
beq --
sty startat sty startat
ldy i ldy i
cpy InputLength cpy InputLength