mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Another smol opty
This commit is contained in:
+8
-7
@@ -594,15 +594,15 @@ UnequalTanks
|
|||||||
era sta Erase
|
era sta Erase
|
||||||
lda TankNr
|
lda TankNr
|
||||||
pha
|
pha
|
||||||
ldx #$00
|
ldx NumberOfPlayers
|
||||||
|
dex
|
||||||
stx TankNr
|
stx TankNr
|
||||||
|
|
||||||
DrawNextTank
|
DrawNextTank
|
||||||
jsr drawtanknr
|
jsr drawtanknr
|
||||||
inc TankNr
|
dec TankNr
|
||||||
ldx TankNr
|
ldx TankNr
|
||||||
Cpx NumberOfPlayers
|
bpl DrawNextTank
|
||||||
bne DrawNextTank
|
|
||||||
|
|
||||||
pla
|
pla
|
||||||
sta TankNr
|
sta TankNr
|
||||||
@@ -611,10 +611,11 @@ DrawNextTank
|
|||||||
.endp
|
.endp
|
||||||
;---------
|
;---------
|
||||||
ClearTankNr
|
ClearTankNr
|
||||||
mva #1 Erase
|
lda #1 ; erase tank flag
|
||||||
bne DrawTankNr
|
bne @er
|
||||||
PutTankNr
|
PutTankNr
|
||||||
mva #0 Erase
|
lda #0 ; no erase tank flag
|
||||||
|
@er sta Erase
|
||||||
.proc DrawTankNr
|
.proc DrawTankNr
|
||||||
ldx tankNr
|
ldx tankNr
|
||||||
; let's check the energy
|
; let's check the energy
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user