cosmetics
This commit is contained in:
@@ -84,9 +84,12 @@ Shooter .proc
|
|||||||
@
|
@
|
||||||
sta NewAngle
|
sta NewAngle
|
||||||
|
|
||||||
|
sec
|
||||||
lda PreviousEnergyL,x
|
lda PreviousEnergyL,x
|
||||||
|
sbc #5
|
||||||
sta ForceTableL,x
|
sta ForceTableL,x
|
||||||
lda PreviousEnergyH,x
|
lda PreviousEnergyH,x
|
||||||
|
sbc #0
|
||||||
sta ForceTableH,x
|
sta ForceTableH,x
|
||||||
jmp endo
|
jmp endo
|
||||||
|
|
||||||
|
|||||||
+6
-6
@@ -808,20 +808,20 @@ SetunPlots
|
|||||||
sta gtictls
|
sta gtictls
|
||||||
jsr PMoutofScreen
|
jsr PMoutofScreen
|
||||||
lda TankColoursTable ; temporary colours of sprites under tanks
|
lda TankColoursTable ; temporary colours of sprites under tanks
|
||||||
sta $2c0
|
sta COLPM0S
|
||||||
lda TankColoursTable+1
|
lda TankColoursTable+1
|
||||||
sta $2c1
|
sta COLPM1S
|
||||||
lda TankColoursTable+2
|
lda TankColoursTable+2
|
||||||
sta $2c2
|
sta COLPM2S
|
||||||
lda TankColoursTable+3
|
lda TankColoursTable+3
|
||||||
sta $2c3
|
sta COLPM3S
|
||||||
LDA TankColoursTable+4
|
LDA TankColoursTable+4
|
||||||
STA COLPF3S ; joined missiles (5th tank)
|
STA COLPF3S ; joined missiles (5th tank)
|
||||||
mva #0 hscrol
|
mva #0 hscrol
|
||||||
|
|
||||||
|
|
||||||
;let the tanks be visible!
|
;let the tanks be visible!
|
||||||
ldx #5
|
ldx #(maxPlayers-1)
|
||||||
lda #1 ; tank is visible
|
lda #1 ; tank is visible
|
||||||
MakeTanksVisible
|
MakeTanksVisible
|
||||||
sta eXistenZ,x
|
sta eXistenZ,x
|
||||||
@@ -909,7 +909,7 @@ lab2
|
|||||||
jmp SYSVBV
|
jmp SYSVBV
|
||||||
.endp
|
.endp
|
||||||
;----------------------------------------------
|
;----------------------------------------------
|
||||||
RandomizeSequence .proc
|
.proc RandomizeSequence
|
||||||
; in: NumberOfPlayers
|
; in: NumberOfPlayers
|
||||||
; out: TankSequence
|
; out: TankSequence
|
||||||
; how: get random number lower than NumberOfPlayers
|
; how: get random number lower than NumberOfPlayers
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user