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