mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
AI optimization (Autodefense SFX :) )
This commit is contained in:
@@ -286,12 +286,6 @@ NoBatteries
|
||||
; use best defensive :)
|
||||
; allways
|
||||
jsr GetBestDefensive
|
||||
bcc NoUseDefensive
|
||||
; and SFX
|
||||
mva #sfx_auto_defense sfx_effect
|
||||
ldy #7
|
||||
jsr PauseYFrames ; wait 14 frames (Defense SFX)
|
||||
NoUseDefensive
|
||||
; update status line
|
||||
jmp DisplayStatus ; jsr/rts
|
||||
; rts
|
||||
@@ -317,11 +311,12 @@ NoUseDefensive
|
||||
sta ActiveDefenceWeapon,x
|
||||
lda DefensiveEnergy,y
|
||||
sta ShieldEnergy,x
|
||||
sec
|
||||
rts
|
||||
; and SFX
|
||||
mva #sfx_auto_defense sfx_effect
|
||||
ldy #7
|
||||
jsr PauseYFrames ; wait 14 frames (Defense SFX)
|
||||
DefensiveInUse
|
||||
NoUseDefensive
|
||||
clc
|
||||
rts
|
||||
.endp
|
||||
;----------------------------------------------
|
||||
|
||||
+1
-1
@@ -659,7 +659,7 @@ CreditsStart
|
||||
dta d" "*
|
||||
dta d"and"^
|
||||
dta d"Wendell Hicken"^
|
||||
dta d"for original Scorched Earth"^
|
||||
dta d"for original Scorched Earth game"^
|
||||
.IF TARGET = 800
|
||||
dta d" "*
|
||||
dta d"Stay tuned for the FujiNet version!"^
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user