diff --git a/Atari/textproc.asm b/Atari/textproc.asm index ad33735..70baf80 100644 --- a/Atari/textproc.asm +++ b/Atari/textproc.asm @@ -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 diff --git a/C64/textproc.asm b/C64/textproc.asm index f67a032..57253e7 100644 --- a/C64/textproc.asm +++ b/C64/textproc.asm @@ -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 diff --git a/constants.asm b/constants.asm index 9dc16ae..103ae0f 100644 --- a/constants.asm +++ b/constants.asm @@ -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 diff --git a/scorch.bin b/scorch.bin index 45c1e31..ba9e94e 100644 Binary files a/scorch.bin and b/scorch.bin differ diff --git a/scorch.xex b/scorch.xex index 4e157f3..97febd0 100644 Binary files a/scorch.xex and b/scorch.xex differ diff --git a/scorchC64.prg b/scorchC64.prg index 84687d4..039e948 100644 Binary files a/scorchC64.prg and b/scorchC64.prg differ