mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
And Final result display for Teams
This commit is contained in:
+9
-1
@@ -1638,6 +1638,10 @@ displayloop1
|
|||||||
SetDLI DLIinterruptGameOver ; jsr SetDLI for Game Over screen
|
SetDLI DLIinterruptGameOver ; jsr SetDLI for Game Over screen
|
||||||
; make text and color lines for each tank
|
; make text and color lines for each tank
|
||||||
ldx NumberOfPlayers ;we start from the highest (best) tank
|
ldx NumberOfPlayers ;we start from the highest (best) tank
|
||||||
|
bit TeamGame
|
||||||
|
bvc NoTeamsResults
|
||||||
|
ldx #MaxPlayers+2 ; set pointer to teams results
|
||||||
|
NoTeamsResults
|
||||||
dex ;and it is the last one
|
dex ;and it is the last one
|
||||||
stx ResultOfTankNr ;in TankSequence table
|
stx ResultOfTankNr ;in TankSequence table
|
||||||
ldy #0 ;witch line we are coloring
|
ldy #0 ;witch line we are coloring
|
||||||
@@ -1726,7 +1730,11 @@ NotAItank
|
|||||||
ply
|
ply
|
||||||
iny
|
iny
|
||||||
dec ResultOfTankNr
|
dec ResultOfTankNr
|
||||||
jpl FinalResultOfTheNextPlayer
|
lda ResultOfTankNr
|
||||||
|
bmi MakeBlackLines
|
||||||
|
cmp #MaxPlayers-1 ; check for last team
|
||||||
|
beq MakeBlackLines
|
||||||
|
jmp FinalResultOfTheNextPlayer
|
||||||
MakeBlackLines
|
MakeBlackLines
|
||||||
cpy #$06
|
cpy #$06
|
||||||
beq AllLinesReady
|
beq AllLinesReady
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user