-
Notifications
You must be signed in to change notification settings - Fork 10
/
upgrade.s
165 lines (142 loc) · 6.27 KB
/
upgrade.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
include memory.s
org chars
dc.w upgrade1
dc.w upgrade2
dc.w upgrade3
dc.w upgrade4
dc.w upgrade5
dc.w upgrade6
dc.w upgrade7
nameMovement: dc.b "LOWER BODY EXOSKELETON",0
nameStrength: dc.b "UPPER BODY EXOSKELETON",0
org chars+$40
incbin spr/sight.spr
org chars+$80
nameFirearms: dc.b "MOTOR SKILL COPROCESSOR",0
nameArmor: dc.b "SUBDERMAL ARMOR",0
nameHealing: dc.b "RECOVERY BOOSTER",0
nameDrain: dc.b "AUXILIARY BATTERY",0
nameRecharge: dc.b "BIOELECTRIC RECHARGER",0
org chars+$100
dc.b 0 ;Text chars will be copied here
org chars+$400
incbin bg/upgrade.chr
PS = $ff
AM = $0f
bl = $00
VE = $01
HO = $02
BR = $03
BL = $04
TL = $05
TR = $06
CR = $07
SV = $09
SH = $0a
SR = $0b
SD = $0c
SL = $0d
SU = $0e
upgrade1: dc.w nameMovement
dc.w descMovement
dc.b %00110000
dc.b bl,bl,bl,VE,bl,bl,bl,bl,bl,VE,bl,bl,bl
dc.b bl,bl,TL,SU,HO,TR,bl,TL,HO,SU,TR,bl,bl
dc.b PS,SV,BR,VE,bl,VE,bl,VE,bl,AM,SU,HO,HO
dc.b bl,bl,bl,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bl,bl,VE,SR,SD,SD,SD,SD,SD,SL,VE,bl,bl
dc.b PS,SV,SU,HO,SU,HO,SU,HO,SU,HO,SU,SV,HO
dc.b bl,bl,VE,bl,VE,bl,VE,bl,VE,bl,VE,bl,bl
;0123456789012345678901234567
descMovement: dc.b "IMPROVED TURNS, JUMPS AND",0
dc.b "CLIMBING SPEED. CARRY ONE",0
dc.b "ONE MORE WEAPON",0,0
;0123456789012345678901234567
descStrength: dc.b "IMPROVED MELEE DAMAGE. CARRY",0
dc.b "ONE MORE WEAPON AND MORE",0
dc.b "AMMUNITION",0,0
;0123456789012345678901234567
descFirearms: dc.b "IMPROVED AIM (MORE FIREARM",0
dc.b "DAMAGE) AND REDUCED RELOAD",0
dc.b "TIME. AREA-BASED WEAPONS",0
dc.b "RECEIVE NO BENEFIT",0,0
;0123456789012345678901234567
descArmor: dc.b "REDUCED COMBAT DAMAGE OVER",0
dc.b "THE ENTIRE BODY. FALLING,",0
dc.b "DROWNING AND TOXIC DAMAGE",0
dc.b "ARE UNAFFECTED",0,0
;0123456789012345678901234567
descHealing: dc.b "FASTER NANOMECHANICAL TISSUE",0
dc.b "REGENERATION",0,0
;0123456789012345678901234567
descDrain: dc.b "INCREASED TIME OF OPERATION",0
dc.b "BEFORE BATTERY RECHARGE IS",0
dc.b "REQUIRED",0,0
;0123456789012345678901234567
descRecharge: dc.b "CONVERTS BODY ELECTRICITY",0
dc.b "INTO BATTERY POWER. ADDED",0
dc.b "METABOLIC STRAIN MAY REDUCE",0
dc.b "LIFE EXPECTANCY",0,0
if * > screen2+SCROLLROWS*40
err
endif