mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Smol opty
This commit is contained in:
@@ -160,6 +160,16 @@
|
|||||||
pla
|
pla
|
||||||
tay
|
tay
|
||||||
.endm
|
.endm
|
||||||
|
;-------------------------------------
|
||||||
|
.macro txy
|
||||||
|
txa
|
||||||
|
tay
|
||||||
|
.endm
|
||||||
|
;-------------------------------------
|
||||||
|
.macro tyx
|
||||||
|
tya
|
||||||
|
tax
|
||||||
|
.endm
|
||||||
;-------------------------------------
|
;-------------------------------------
|
||||||
.macro pause
|
.macro pause
|
||||||
;waits :1 number (byte) of frames
|
;waits :1 number (byte) of frames
|
||||||
|
|||||||
@@ -278,6 +278,16 @@ upstartEnd
|
|||||||
pla
|
pla
|
||||||
tay
|
tay
|
||||||
.endm
|
.endm
|
||||||
|
;-------------------------------------
|
||||||
|
.macro txy
|
||||||
|
txa
|
||||||
|
tay
|
||||||
|
.endm
|
||||||
|
;-------------------------------------
|
||||||
|
.macro tyx
|
||||||
|
tya
|
||||||
|
tax
|
||||||
|
.endm
|
||||||
;-------------------------------------
|
;-------------------------------------
|
||||||
.MACRO WAIT
|
.MACRO WAIT
|
||||||
; WAIT
|
; WAIT
|
||||||
|
|||||||
@@ -725,7 +725,6 @@ NotNegativeShieldEnergy
|
|||||||
.proc Seppuku
|
.proc Seppuku
|
||||||
;---------------------------------
|
;---------------------------------
|
||||||
lda #0
|
lda #0
|
||||||
sta ydraw+1
|
|
||||||
; get position of the tank
|
; get position of the tank
|
||||||
ldx TankNr
|
ldx TankNr
|
||||||
; lda #0 ; turn off defense weapons when hara-kiring
|
; lda #0 ; turn off defense weapons when hara-kiring
|
||||||
@@ -929,8 +928,7 @@ MakeTanksVisible
|
|||||||
ldx #0
|
ldx #0
|
||||||
|
|
||||||
GetRandomAgainX
|
GetRandomAgainX
|
||||||
txa ; destroy A!
|
txy ; destroy A!
|
||||||
tay
|
|
||||||
dey
|
dey
|
||||||
lda RANDOM
|
lda RANDOM
|
||||||
cmp NumberOfPlayers
|
cmp NumberOfPlayers
|
||||||
|
|||||||
BIN
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user