mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
Better order of players in summary
If players have the same score, place is decided by "direct hits".
This commit is contained in:
+11
-1
@@ -1486,10 +1486,20 @@ Bubble
|
||||
BubbleBobble
|
||||
lda TempResults,x
|
||||
cmp TempResults+1,x
|
||||
beq nextishigher ; this is to block hangs when 2 equal values meet
|
||||
bcc nextishigher
|
||||
bne swapvalues
|
||||
nextisequal
|
||||
; if results are equal, check Direct Hits (only lower byte - sorry memory)
|
||||
ldy TankSequence,x
|
||||
lda DirectHitsL,y
|
||||
ldy TankSequence+1,x
|
||||
cmp DirectHitsL,y
|
||||
;
|
||||
beq nextishigher ; this is to block hangs when 2 equal values meet
|
||||
bcc nextishigher
|
||||
;here we must swap values
|
||||
;because next is smaller than previous
|
||||
swapvalues
|
||||
sta temp
|
||||
lda TempResults+1,x
|
||||
sta TempResults,x
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user