mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
PlasmaBlast!
This commit is contained in:
@@ -639,6 +639,7 @@ MetodOfDeath
|
||||
bcs MetodOfDeath
|
||||
tay
|
||||
lda weaponsOfDeath,y
|
||||
;lda #32 ; plama blast only
|
||||
jsr ExplosionDirect
|
||||
mva #sfx_silencer sfx_effect
|
||||
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@
|
||||
|
||||
;---------------------------------------------------
|
||||
.macro build
|
||||
dta d"1.50" ; number of this build (4 bytes)
|
||||
dta d"1.51" ; number of this build (4 bytes)
|
||||
.endm
|
||||
|
||||
.macro RMTSong
|
||||
|
||||
BIN
Binary file not shown.
+23
-6
@@ -783,19 +783,36 @@ LaserMisses
|
||||
; idea only ....
|
||||
mva #sfx_plasma_1_2 sfx_effect
|
||||
mva #0 drawFunction
|
||||
lda #60
|
||||
mva #$04 ExplosionRadius
|
||||
jmp CalculateExplosionRange
|
||||
adw ydraw #4
|
||||
sbw xdraw #4
|
||||
|
||||
lda ydraw
|
||||
lsr
|
||||
lsr
|
||||
lsr
|
||||
sta yc
|
||||
lda #30
|
||||
sbc yc
|
||||
sta yc ; blink counter 60
|
||||
@
|
||||
columnloop
|
||||
mva #8 fs ;lines counter
|
||||
linesloop
|
||||
lda yc
|
||||
and #$01
|
||||
eor #$01
|
||||
beq @+
|
||||
lda random
|
||||
@ and #$01
|
||||
sta color
|
||||
mwa xdraw xbyte
|
||||
mwa #0 ybyte
|
||||
jsr draw
|
||||
|
||||
inw xdraw
|
||||
dec fs
|
||||
bne linesloop
|
||||
sbw xdraw #8
|
||||
dec yc
|
||||
bne @-
|
||||
bpl columnloop
|
||||
|
||||
; at this point color allways = 0
|
||||
inc color ; set color to 1
|
||||
|
||||
Reference in New Issue
Block a user