New dafault tanks names

This commit is contained in:
Pecusx
2023-05-24 19:54:23 +02:00
parent 9be7a6577a
commit 9a18bf6c8d
6 changed files with 26 additions and 10 deletions
+10 -3
View File
@@ -1269,12 +1269,19 @@ NotRobot
beq MakeDefaultName
rts
MakeDefaultName
ldy difficultyLevel
lda LevelNameBeginL,y ; address on the screen
sta temp2
lda LevelNameBeginH,y
sta temp2+1
ldx temp+1
ldy #7
@ lda tanksnamesDefault,y
ldy #1 ; after first char (space)
@ lda (temp2),y
and #$7f ; remove inverse
sta tanksnames,x
inx
dey
iny
cpy #8
bne @-
ldy tanknr
lda digits+1,y
+16 -4
View File
@@ -4,7 +4,12 @@
.IF *>0
WeaponsListDL = 0
NamesOfLevels = 0
NamesOfLevels
dta d" HUMAN Moron Shooter "
dta d" Poolshark Tosser Chooser "
dta d" Spoiler Cyborg Unknown "
;----------------------------------------
; this module contains routines used in text mode
; like shop and start-up options
@@ -186,12 +191,19 @@ NotRobot
beq MakeDefaultName
rts
MakeDefaultName
ldy difficultyLevel
lda LevelNameBeginL,y ; address on the screen
sta temp2
lda LevelNameBeginH,y
sta temp2+1
ldx temp+1
ldy #7
@ lda tanksnamesDefault,y
ldy #1 ; after first char (space)
@ lda (temp2),y
and #$7f ; remove inverse
sta tanksnames,x
inx
dey
iny
cpy #8
bne @-
ldy tanknr
lda digits+1,y
-3
View File
@@ -224,9 +224,6 @@ SlideLeftTable
; .BY %00001100
SlideLeftTableLen = *-SlideLeftTable
;-------------------------------------------------
TanksNamesDefault
dta d"x.n knaT"
;-------------------------------------------------
TankShapesTable .BYTE char_tank1
.BYTE char_tank2
.BYTE char_tank3
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.