diff --git a/scorch.asm b/scorch.asm index 6490802..ad82fa5 100644 --- a/scorch.asm +++ b/scorch.asm @@ -272,6 +272,8 @@ skipzeroing lda #0 sta sizep0 ; P0-P1 widths sta sizep0+1 + sta colpf2s ; status line "off" + sta colpf1s tax @ sta singleRoundVars,x @@ -322,9 +324,6 @@ SettingEnergies jsr SetMainScreen jsr ColorsOfSprites - lda #0 - sta colpf2s ; status line "off" - sta colpf1s ; lda #90 ; barrel fully erect ; ldx #MaxPlayers-1 @@ -336,9 +335,8 @@ SettingEnergies jsr drawmountains ;draw them jsr drawtanks ;finally draw tanks - lda #$00 - sta TankSequencePointer - sta TestFlightFlag + mva #$00 TankSequencePointer + ;---------round screen is ready--------- mva #TextForegroundColor colpf1s ; status line "on" rts diff --git a/scorch.xex b/scorch.xex index c5bd32f..24b6428 100644 Binary files a/scorch.xex and b/scorch.xex differ diff --git a/weapons.asm b/weapons.asm index 19371db..c134e2b 100644 --- a/weapons.asm +++ b/weapons.asm @@ -1505,15 +1505,9 @@ NotStrongShoot sta Force+1 mva #sfx_shoot sfx_effect AfterStrongShoot - lda #$0 - sta Force+2 lda AngleTable,x sta Angle - lda #0 - sta xtraj - sta ytraj - ; Shoots tank nr X !!! :) ; set the starting coordinates of bullet with correction ; to start where the tank's barrel ends @@ -1522,26 +1516,15 @@ AfterStrongShoot mwa EndOfTheBarrelX xtraj+1 mva EndOfTheBarrely ytraj+1 - mva #0 ytraj+2 - - ;ldy Angle - ;clc - ;lda xtankstableL,x - ;adc EndOfTheBarrelX,y ; correction of X - ;sta xtraj+1 - ;lda xtankstableH,x - ;adc #$00 - ;sta xtraj+2 - ;sec - ;lda ytankstable,x - ;sbc EndOfTheBarrelY,y ; correction of Y - ;sta ytraj+1 - ;lda #$00 - ;sbc #$00 - ;sta ytraj+2 + lda #0 + sta Force+2 + sta ytraj+2 + sta xtraj + sta ytraj + sta TestFlightFlag ; checking if the shot is underground (no Flight but Hit :) ) - ldy #0 + tay ; A=0 ! adw xtraj+1 #mountaintable temp lda ytraj+1 cmp (temp),y ; check collision witch mountains