mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
Earned money in sort proc!
This commit is contained in:
@@ -1102,17 +1102,17 @@ nextisequal
|
|||||||
nextisequal2
|
nextisequal2
|
||||||
; if results are equal, check money (H)
|
; if results are equal, check money (H)
|
||||||
ldy TankSequence,x
|
ldy TankSequence,x
|
||||||
lda moneyH,y
|
lda EarnedMoneyH,y
|
||||||
ldy TankSequence+1,x
|
ldy TankSequence+1,x
|
||||||
cmp moneyH,y
|
cmp EarnedMoneyH,y
|
||||||
bcc nextishigher
|
bcc nextishigher
|
||||||
bne swapvalues
|
bne swapvalues
|
||||||
nextisequal2b
|
nextisequal2b
|
||||||
; if results are equal, check money (L)
|
; if results are equal, check money (L)
|
||||||
ldy TankSequence,x
|
ldy TankSequence,x
|
||||||
lda moneyL,y
|
lda EarnedMoneyL,y
|
||||||
ldy TankSequence+1,x
|
ldy TankSequence+1,x
|
||||||
cmp moneyL,y
|
cmp EarnedMoneyL,y
|
||||||
;
|
;
|
||||||
beq nextishigher ; this is to block hangs when 2 equal values meet
|
beq nextishigher ; this is to block hangs when 2 equal values meet
|
||||||
bcc nextishigher
|
bcc nextishigher
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user