mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-03 13:30:20 +00:00
fix the mess
This commit is contained in:
parent
1d23da8f7d
commit
ebd442c223
@ -73,9 +73,9 @@ TextRankCallback
|
||||
+STAY zpword
|
||||
ldy #0
|
||||
lda (zpstring),y
|
||||
sta gamelength
|
||||
cmp InputLength
|
||||
bcc @no
|
||||
bcc ++
|
||||
sta gamelength
|
||||
lda #0
|
||||
sta runningscore
|
||||
sta runningscore+1
|
||||
@ -93,7 +93,7 @@ TextRankCallback
|
||||
cpy gamelength
|
||||
iny
|
||||
bcc --
|
||||
@no rts ; no match :(
|
||||
++ rts ; no match :(
|
||||
+
|
||||
ldx #80
|
||||
cpy startat
|
||||
@ -113,15 +113,19 @@ TextRankCallback
|
||||
sta runningscore
|
||||
bcc +
|
||||
inc runningscore+1
|
||||
+ cpy gamelength
|
||||
beq +
|
||||
inc startat
|
||||
+ tya
|
||||
ldy i
|
||||
cpy InputLength
|
||||
bcs +
|
||||
iny
|
||||
sta startat
|
||||
inc startat
|
||||
cmp gamelength
|
||||
bcc -
|
||||
rts ; no match :(
|
||||
|
||||
+ lda runningscore
|
||||
+
|
||||
lda runningscore
|
||||
ldx runningscore+1
|
||||
ldy gamelength
|
||||
jsr @div
|
||||
|
Loading…
Reference in New Issue
Block a user