Smol opty

This commit is contained in:
Pecusx
2024-02-29 12:58:24 +01:00
parent d25419c353
commit 5852b8f318
5 changed files with 21 additions and 3 deletions
+10
View File
@@ -160,6 +160,16 @@
pla
tay
.endm
;-------------------------------------
.macro txy
txa
tay
.endm
;-------------------------------------
.macro tyx
tya
tax
.endm
;-------------------------------------
.macro pause
;waits :1 number (byte) of frames
+10
View File
@@ -278,6 +278,16 @@ upstartEnd
pla
tay
.endm
;-------------------------------------
.macro txy
txa
tay
.endm
;-------------------------------------
.macro tyx
tya
tax
.endm
;-------------------------------------
.MACRO WAIT
; WAIT
+1 -3
View File
@@ -725,7 +725,6 @@ NotNegativeShieldEnergy
.proc Seppuku
;---------------------------------
lda #0
sta ydraw+1
; get position of the tank
ldx TankNr
; lda #0 ; turn off defense weapons when hara-kiring
@@ -929,8 +928,7 @@ MakeTanksVisible
ldx #0
GetRandomAgainX
txa ; destroy A!
tay
txy ; destroy A!
dey
lda RANDOM
cmp NumberOfPlayers
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.