Gift now blinking.

This commit is contained in:
Pecusx
2022-11-16 18:33:53 +01:00
parent cc41bcd323
commit 6f62d49407
4 changed files with 29 additions and 1 deletions
+25
View File
@@ -1951,6 +1951,31 @@ NoCheat
CheatName CheatName
dta d" 008.T"+$27 dta d" 008.T"+$27
;---------------------------------------------- ;----------------------------------------------
.proc DLIinterruptBFG
pha
lda dliCounter
bne EndofBFGDLI
lda dliColorsFore
bit random
bmi @+
lda DliColorBack
@ sta COLPF2
lda dliColorsFore
bit random
bmi @+
lda DliColorBack
@ sta COLPF1
EndofBFGDLI
inc dliCounter
pla
rti
.endp
; ------------------------
.proc BFGblink
VDLI DLIinterruptBFG
rts
.endp
;--------------------------------------------------
.IF * > MODUL-1 .IF * > MODUL-1
.ECHO * .ECHO *
.ERROR 'Code and data too long' .ERROR 'Code and data too long'
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+4 -1
View File
@@ -56,8 +56,11 @@ VOID
tracer tracer
rts rts
.endp .endp
; ------------------------
.proc BFG .proc BFG
mva #sfx_baby_missile sfx_effect
jsr BFGblink
;wait 50
;VDLI DLIinterruptGraph ; blinking off (but no memory :) )
; Kill all :) ; Kill all :)
ldx NumberOfPlayers ldx NumberOfPlayers
dex dex