jsr/rts to jmp optimiz
This commit is contained in:
+4
-4
@@ -585,8 +585,8 @@ EndPut4x4
|
||||
; ora #$02 ; 2=normal, 3 = wide screen width
|
||||
sta dmactls
|
||||
mva WallsType COLBAKS ; set color of background
|
||||
jsr WaitOneFrame
|
||||
rts
|
||||
jmp WaitOneFrame
|
||||
; rts
|
||||
.endp
|
||||
;--------------------------------------------------
|
||||
|
||||
@@ -660,8 +660,8 @@ NoPlot
|
||||
ldx TankNr
|
||||
sta ActiveDefenceWeapon,x ; deactivate Nuclear Winter
|
||||
jsr SetFullScreenSoilRange
|
||||
jsr SoilDown2.NoClearTanks
|
||||
rts
|
||||
jmp SoilDown2.NoClearTanks
|
||||
; rts
|
||||
|
||||
; in order to optimize the fragment repeated in both internal loops
|
||||
; we save 15 bytes :)
|
||||
|
||||
+2
-2
@@ -1709,8 +1709,8 @@ FastTank
|
||||
bne MainTanksFloatingLoop ; neverending loop
|
||||
mva #$00 ScrollFlag ; credits scroll off
|
||||
jsr MakeDarkScreen
|
||||
jsr GameOverResultsClear
|
||||
rts
|
||||
jmp GameOverResultsClear
|
||||
; rts
|
||||
RandomizeTankPos
|
||||
randomize 10 (32-7) ; 10 not 8 - barrel !! :)
|
||||
sta Ytankstable,x
|
||||
|
||||
Reference in New Issue
Block a user