mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
New tank shape (only for robotanks),.
This commit is contained in:
Binary file not shown.
+4
-2
@@ -7,8 +7,10 @@ TankColoursTable .BYTE $58,$2a,$96,$ca,$7a,$ed
|
||||
;TanksPMOrder .BYTE 4,3,1,5,0,2 ; 0-3 = P0-P3 , 4 = M0+M1 , 5 = M2+M3
|
||||
TankStatusColoursTable .BYTE $74,$c4,$24,$e4,$54,$94 ; Adam's order
|
||||
TanksPMOrder .BYTE 4,3,1,5,0,2 ; 0-3 = P0-P3 , 4 = M0+M1 , 5 = M2+M3
|
||||
TankShapesTable .BYTE char_tank1___________,char_tank2___________,char_tank3___________
|
||||
.BYTE char_tank1___________,char_tank2___________,char_tank3___________
|
||||
TankShapesTable .BYTE char_tank1___________
|
||||
.BYTE char_tank2___________
|
||||
.BYTE char_tank3___________
|
||||
.BYTE char_tank4___________
|
||||
dliColorsBack
|
||||
:10 .by $02,$00
|
||||
dliColorsFore
|
||||
|
||||
+2
-1
@@ -37,7 +37,8 @@ char_sandhog_________ = $0c
|
||||
char_sandhog_offset = char_sandhog_________ - char_digger__________
|
||||
char_tank1___________ = $20
|
||||
char_tank2___________ = $24
|
||||
char_tank3___________ = $28
|
||||
char_tank3___________ = $2c
|
||||
char_tank4___________ = $28 ; robotank shape
|
||||
|
||||
;Weapon prices (*10 on screen)
|
||||
price_Baby_Missile___ = 0 ;_00
|
||||
|
||||
+1
-1
@@ -1972,7 +1972,7 @@ noingame
|
||||
icl 'artwork/talk.asm'
|
||||
;----------------------------------------------
|
||||
TankFont
|
||||
ins 'artwork/tanksv3.fnt',+0,352 ; 44 characters only
|
||||
ins 'artwork/tanksv3.fnt',+0,384 ; 48 characters only
|
||||
;----------------------------------------------
|
||||
font4x4
|
||||
ins 'artwork/font4x4s.bmp',+62
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+5
-9
@@ -1120,7 +1120,6 @@ NoArrowDown
|
||||
sta difficultyLevel
|
||||
lda digits+1,x
|
||||
sta NameScreen2+7
|
||||
jsr HighlightLevel ; setting choosen level of the opponent (Moron, etc)
|
||||
|
||||
; clear tank name editor field - not necessary
|
||||
; ldx #8
|
||||
@@ -1154,12 +1153,9 @@ LastNameChar
|
||||
beq @+
|
||||
iny
|
||||
@ sty PositionInName
|
||||
; lda NameAdr,y
|
||||
; ora #$80 ; place cursor on the end
|
||||
; sta NameAdr,y
|
||||
|
||||
|
||||
CheckKeys
|
||||
jsr HighlightLevel ; setting choosen level of the opponent (Moron, etc)
|
||||
ldx TankNr
|
||||
lda JoyNumber,x
|
||||
tay
|
||||
@@ -1247,7 +1243,6 @@ ChangeOfLevelUp ; change difficulty level of computer opponent
|
||||
bne DoNotLoopLevelUp
|
||||
mva #$0 DifficultyLevel
|
||||
DoNotLoopLevelUp
|
||||
jsr HighlightLevel
|
||||
jmp CheckKeys
|
||||
;----
|
||||
ChangeOfLevelDown
|
||||
@@ -1255,7 +1250,6 @@ ChangeOfLevelDown
|
||||
bpl DoNotLoopLevelDown
|
||||
mva #$8 DifficultyLevel
|
||||
DoNotLoopLevelDown
|
||||
jsr HighlightLevel
|
||||
jmp CheckKeys
|
||||
;----
|
||||
ChangeOfLevel3Up
|
||||
@@ -1267,7 +1261,6 @@ ChangeOfLevel3Up
|
||||
sbb DifficultyLevel #9
|
||||
|
||||
DoNotLoopLevel3Up
|
||||
jsr HighlightLevel
|
||||
jmp CheckKeys
|
||||
;----
|
||||
ChangeOfLevel3Down
|
||||
@@ -1275,7 +1268,6 @@ ChangeOfLevel3Down
|
||||
bpl @+
|
||||
adb DifficultyLevel #9
|
||||
@
|
||||
jsr HighlightLevel
|
||||
jmp CheckKeys
|
||||
;----
|
||||
ChangeOfShapeUp
|
||||
@@ -1307,6 +1299,10 @@ ShortJoyPress
|
||||
ldx tanknr
|
||||
lda DifficultyLevel
|
||||
sta skilltable,x
|
||||
beq NotRobot
|
||||
lda #$03 ; shape for robotanks
|
||||
sta TankShape,x
|
||||
NotRobot
|
||||
; storing name of the tank in the right space
|
||||
; (without cursor!)
|
||||
ldy #$00
|
||||
|
||||
Reference in New Issue
Block a user