Black Hole added :)

This commit is contained in:
Pecusx
2023-10-03 10:03:53 +02:00
parent e4bf9e077f
commit 58170eea81
10 changed files with 32 additions and 9 deletions
+9
View File
@@ -150,6 +150,13 @@ NotGravity
sta RandomMountains sta RandomMountains
rts rts
NoMountains NoMountains
cmp #$08
bne NoBlackHole
lda BlackHole
eor #$5d ; cursor down character
sta BlackHole
rts
NoBlackHole
ldy GradientNr ldy GradientNr
iny iny
cpy #$03 cpy #$03
@@ -170,6 +177,8 @@ NoGradientLoop
.proc OptionsInversion .proc OptionsInversion
; Additional option symbols ; Additional option symbols
lda BlackHole
sta OptionsHere+328
lda RandomMountains lda RandomMountains
sta OptionsHere+288 sta OptionsHere+288
lda WindChangeInRound lda WindChangeInRound
+4 -4
View File
@@ -53,7 +53,7 @@
dta d"I'M GONNA BREAK YOUR FACE!"^ dta d"I'M GONNA BREAK YOUR FACE!"^
dta d"MAMA SAID KNOCK YOU OUT!"^ dta d"MAMA SAID KNOCK YOU OUT!"^
dta d"I HOPE YOU ENJOY PAIN!"^ dta d"I HOPE YOU ENJOY PAIN!"^
dta d"HOW'D YOU LIKE ONE ACROSS YOUR LIPS?"^ ;(sanford and son) ; dta d"HOW'D YOU LIKE ONE ACROSS YOUR LIPS?"^ ;(sanford and son)
;---------------------------- ;----------------------------
dta d"PARTING IS SUCH SWEET SORROW... NOT!"^ dta d"PARTING IS SUCH SWEET SORROW... NOT!"^
dta d"UGH!"^ dta d"UGH!"^
@@ -116,10 +116,10 @@
dta d"I'LL BE BACK..."^ dta d"I'LL BE BACK..."^
dta d"I'VE GOT LAWYERS!"^ dta d"I'VE GOT LAWYERS!"^
dta d"CALL 1-900-SUE-TANK."^ dta d"CALL 1-900-SUE-TANK."^
dta d"YOU BIG DUMMY!"^ ;(sanford and son) ; dta d"YOU BIG DUMMY!"^ ;(sanford and son)
LEND LEND
NumberOfOffensiveTexts=54 NumberOfOffensiveTexts=53
NumberOfDeffensiveTexts=62 NumberOfDeffensiveTexts=61
.endp .endp
hoverFull dta d"MY HOVERCRAFT IS FULL OF EELS!"^ hoverFull dta d"MY HOVERCRAFT IS FULL OF EELS!"^
hoverFullEnd hoverFullEnd
+10
View File
@@ -1237,6 +1237,16 @@ NoParachuteWeapon
beq ThereWasNoParachute beq ThereWasNoParachute
jsr DrawTankParachute jsr DrawTankParachute
ThereWasNoParachute ThereWasNoParachute
lda BlackHole
beq NotBlackHole
lda Ytankstable,x
cmp #screenheight-1
bcc NotBlackHole
lda #0
sta eXistenZ,x
sta LastExistenZ,x
sta Energy,x
NotBlackHole
; ldx TankNr ; ldx TankNr
jsr PutTankNr ; redraw tank after erase parachute (exactly for redraw leaky schield :) ) jsr PutTankNr ; redraw tank after erase parachute (exactly for redraw leaky schield :) )
mva #sfx_silencer sfx_effect mva #sfx_silencer sfx_effect
+3 -2
View File
@@ -30,7 +30,7 @@
;--------------------------------------------------- ;---------------------------------------------------
.macro build .macro build
dta d"1.40" ; number of this build (4 bytes) dta d"1.41" ; number of this build (4 bytes)
.endm .endm
.macro RMTSong .macro RMTSong
@@ -54,7 +54,7 @@ AdditionalZPvariables = $20
.zpvar MeteorsRound .byte ; set 7th bit - block meteors in round .zpvar MeteorsRound .byte ; set 7th bit - block meteors in round
FirstZpageVariable = $51 FirstZpageVariable = $50
.zpvar DliColorBack .byte = FirstZpageVariable .zpvar DliColorBack .byte = FirstZpageVariable
.zpvar ClearSky .byte ; $ff - Crear sky during drawmountains, 0 - no clear sky .zpvar ClearSky .byte ; $ff - Crear sky during drawmountains, 0 - no clear sky
.zpvar PaddleState .byte ; old state 2nd button for 2 buttons joysticks .zpvar PaddleState .byte ; old state 2nd button for 2 buttons joysticks
@@ -144,6 +144,7 @@ FirstZpageVariable = $51
.zpvar RandomMountains .byte ; mountains type change after each turn flag .zpvar RandomMountains .byte ; mountains type change after each turn flag
; (0 - round only, >0 - each turn) ; (0 - round only, >0 - each turn)
.zpvar FastSoilDown .byte ; 0 - standard, >0 - fast .zpvar FastSoilDown .byte ; 0 - standard, >0 - fast
.zpvar BlackHole .byte ; 0 - no, >0 - yes
.zpvar XHit .word .zpvar XHit .word
.zpvar delta .word .zpvar delta .word
.zpvar HowMuchToFall .byte .zpvar HowMuchToFall .byte
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+3 -2
View File
@@ -24,7 +24,7 @@
;--------------------------------------------------- ;---------------------------------------------------
.macro build .macro build
dta d"1.33" ; number of this build (4 bytes) dta d"1.41" ; number of this build (4 bytes)
.endm .endm
.macro RMTSong .macro RMTSong
@@ -35,7 +35,7 @@
icl 'definitions.asm' icl 'definitions.asm'
;--------------------------------------------------- ;---------------------------------------------------
FirstZpageVariable = $53 ; $57 FirstZpageVariable = $52 ; $57
.zpvar DliColorBack .byte = FirstZpageVariable .zpvar DliColorBack .byte = FirstZpageVariable
.zpvar MeteorsFlag .byte ; set 7th bit - block meteors .zpvar MeteorsFlag .byte ; set 7th bit - block meteors
.zpvar MeteorsRound .byte ; set 7th bit - block meteors in round .zpvar MeteorsRound .byte ; set 7th bit - block meteors in round
@@ -44,6 +44,7 @@ FirstZpageVariable = $53 ; $57
.zpvar WindChangeInRound .byte ; wind change after each turn (not round only) flag - (0 - round only, >0 - each turn) .zpvar WindChangeInRound .byte ; wind change after each turn (not round only) flag - (0 - round only, >0 - each turn)
.zpvar RandomMountains .byte ; mountains type change after each turn flag - (0 - round only, >0 - each turn) .zpvar RandomMountains .byte ; mountains type change after each turn flag - (0 - round only, >0 - each turn)
.zpvar FastSoilDown .byte ; 0 - standard, >0 - fast .zpvar FastSoilDown .byte ; 0 - standard, >0 - fast
.zpvar BlackHole .byte ; 0 - no, >0 - yes
.zpvar JoystickNumber .byte .zpvar JoystickNumber .byte
.zpvar LazyFlag .byte ; 7 bit - run Lazy Darwin, 6 bit - run Lazy Boy or Darwin (!) after inventory, 0 - nothing .zpvar LazyFlag .byte ; 7 bit - run Lazy Darwin, 6 bit - run Lazy Boy or Darwin (!) after inventory, 0 - nothing
.zpvar SpyHardFlag .byte ; >$7f - run SpyHard after inventory .zpvar SpyHardFlag .byte ; >$7f - run SpyHard after inventory
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+3 -1
View File
@@ -2961,7 +2961,9 @@ GoDown
adw temp #4 ; center of the tank adw temp #4 ; center of the tank
ldy #0 ldy #0
lda (temp),y lda (temp),y
sta OverTankDir ; not elegant!!! Reuse as height of tank flight tay
dey ; 1 pixel up!
sty OverTankDir ; not elegant!!! Reuse as height of tank flight
FloatDown FloatDown
lda ytankstable,x lda ytankstable,x
cmp OverTankDir cmp OverTankDir