diff --git a/Atari/lib/MACRO.ASM b/Atari/lib/MACRO.ASM index 6ded402..1ce890a 100644 --- a/Atari/lib/MACRO.ASM +++ b/Atari/lib/MACRO.ASM @@ -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 diff --git a/C64/lib/MACRO.ASM b/C64/lib/MACRO.ASM index c61d971..393e517 100644 --- a/C64/lib/MACRO.ASM +++ b/C64/lib/MACRO.ASM @@ -278,6 +278,16 @@ upstartEnd pla tay .endm +;------------------------------------- + .macro txy + txa + tay + .endm +;------------------------------------- + .macro tyx + tya + tax + .endm ;------------------------------------- .MACRO WAIT ; WAIT diff --git a/game.asm b/game.asm index 54846a3..5d0c1cb 100644 --- a/game.asm +++ b/game.asm @@ -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 diff --git a/scorch.xex b/scorch.xex index ee9ebc5..93d6cfa 100644 Binary files a/scorch.xex and b/scorch.xex differ diff --git a/scorchC64.prg b/scorchC64.prg index b1c0373..3205462 100644 Binary files a/scorchC64.prg and b/scorchC64.prg differ