-
Notifications
You must be signed in to change notification settings - Fork 9
/
metasprites.h
403 lines (334 loc) · 9.06 KB
/
metasprites.h
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
/* Player metaprites!
* Player metasprites are organized as:
* SprPlayers[player number][player weapon][player direction][animation frame]
* Player weapons are ordered ROLLER CHARGER (see WPN_ROLLER, etc in game.c)
* Player directions need to be ordered DOWN RIGHT UP LEFT (see SPR_DOWN, etc in game.c)
*/
const unsigned char SprPlayer1RollerDownFrame1[] = {
0,-1,0x40,0,
8,-1,0x41,0,
0, 7,0x50,0,
8, 7,0x51,0,
128
};
const unsigned char SprPlayer1RollerDownFrame2[] = {
0,-1,0x42,0,
8,-1,0x43,0,
0, 7,0x52,0,
8, 7,0x53,0,
128
};
const unsigned char* const SprPlayer1RollerDown[] = {SprPlayer1RollerDownFrame1, SprPlayer1RollerDownFrame2};
const unsigned char SprPlayer1RollerRightFrame1[] = {
0,-1,0x44,0,
8,-1,0x45,0,
0, 7,0x54,0,
8, 7,0x55,0,
128
};
const unsigned char SprPlayer1RollerRightFrame2[] = {
0,-1,0x46,0,
8,-1,0x47,0,
0, 7,0x56,0,
8, 7,0x57,0,
128
};
const unsigned char* const SprPlayer1RollerRight[] = {SprPlayer1RollerRightFrame1, SprPlayer1RollerRightFrame2};
const unsigned char SprPlayer1RollerUpFrame1[] = {
0,-1,0x48,0,
8,-1,0x49,0,
0, 7,0x58,0,
8, 7,0x59,0,
128
};
const unsigned char SprPlayer1RollerUpFrame2[] = {
0,-1,0x4a,0,
8,-1,0x4b,0,
0, 7,0x5a,0,
8, 7,0x5b,0,
128
};
const unsigned char* const SprPlayer1RollerUp[] = {SprPlayer1RollerUpFrame1, SprPlayer1RollerUpFrame2};
const unsigned char SprPlayer1RollerLeftFrame1[] = {
0,-1,0x45,0|OAM_FLIP_H,
8,-1,0x44,0|OAM_FLIP_H,
0, 7,0x55,0|OAM_FLIP_H,
8, 7,0x54,0|OAM_FLIP_H,
128
};
const unsigned char SprPlayer1RollerLeftFrame2[] = {
0,-1,0x47,0|OAM_FLIP_H,
8,-1,0x46,0|OAM_FLIP_H,
0, 7,0x57,0|OAM_FLIP_H,
8, 7,0x56,0|OAM_FLIP_H,
128
};
const unsigned char* const SprPlayer1RollerLeft[] = {SprPlayer1RollerLeftFrame1, SprPlayer1RollerLeftFrame2};
const unsigned char* const * const SprPlayer1Roller[] = {SprPlayer1RollerDown, SprPlayer1RollerRight, SprPlayer1RollerUp, SprPlayer1RollerLeft};
const unsigned char SprPlayer1ChargerDownFrame1[] = {
0,-1,0x00,0,
8,-1,0x01,0,
0, 7,0x10,0,
8, 7,0x11,0,
128
};
const unsigned char SprPlayer1ChargerDownFrame2[] = {
0,-1,0x02,0,
8,-1,0x03,0,
0, 7,0x12,0,
8, 7,0x13,0,
128
};
const unsigned char* const SprPlayer1ChargerDown[] = {SprPlayer1ChargerDownFrame1, SprPlayer1ChargerDownFrame2};
const unsigned char SprPlayer1ChargerRightFrame1[] = {
0,-1,0x04,0,
8,-1,0x05,0,
0, 7,0x14,0,
8, 7,0x15,0,
128
};
const unsigned char SprPlayer1ChargerRightFrame2[] = {
0,-1,0x06,0,
8,-1,0x07,0,
0, 7,0x16,0,
8, 7,0x17,0,
128
};
const unsigned char* const SprPlayer1ChargerRight[] = {SprPlayer1ChargerRightFrame1, SprPlayer1ChargerRightFrame2};
const unsigned char SprPlayer1ChargerUpFrame1[] = {
0,-1,0x08,0,
8,-1,0x09,0,
0, 7,0x18,0,
8, 7,0x19,0,
128
};
const unsigned char SprPlayer1ChargerUpFrame2[] = {
0,-1,0x0a,0,
8,-1,0x0b,0,
0, 7,0x1a,0,
8, 7,0x1b,0,
128
};
const unsigned char* const SprPlayer1ChargerUp[] = {SprPlayer1ChargerUpFrame1, SprPlayer1ChargerUpFrame2};
const unsigned char SprPlayer1ChargerLeftFrame1[] = {
0,-1,0x05,0|OAM_FLIP_H,
8,-1,0x04,0|OAM_FLIP_H,
0, 7,0x15,0|OAM_FLIP_H,
8, 7,0x14,0|OAM_FLIP_H,
128
};
const unsigned char SprPlayer1ChargerLeftFrame2[] = {
0,-1,0x07,0|OAM_FLIP_H,
8,-1,0x06,0|OAM_FLIP_H,
0, 7,0x17,0|OAM_FLIP_H,
8, 7,0x16,0|OAM_FLIP_H,
128
};
const unsigned char* const SprPlayer1ChargerLeft[] = {SprPlayer1ChargerLeftFrame1, SprPlayer1ChargerLeftFrame2};
const unsigned char* const * const SprPlayer1Charger[] = {SprPlayer1ChargerDown, SprPlayer1ChargerRight, SprPlayer1ChargerUp, SprPlayer1ChargerLeft};
const unsigned char* const * const * const SprPlayer1[] = {SprPlayer1Roller, SprPlayer1Charger};
const unsigned char SprPlayer2RollerDownFrame1[] = {
0,-1,0x40,1,
8,-1,0x41,1,
0, 7,0x50,1,
8, 7,0x51,1,
128
};
const unsigned char SprPlayer2RollerDownFrame2[] = {
0,-1,0x42,1,
8,-1,0x43,1,
0, 7,0x52,1,
8, 7,0x53,1,
128
};
const unsigned char* const SprPlayer2RollerDown[] = {SprPlayer2RollerDownFrame1, SprPlayer2RollerDownFrame2};
const unsigned char SprPlayer2RollerRightFrame1[] = {
0,-1,0x44,1,
8,-1,0x45,1,
0, 7,0x54,1,
8, 7,0x55,1,
128
};
const unsigned char SprPlayer2RollerRightFrame2[] = {
0,-1,0x46,1,
8,-1,0x47,1,
0, 7,0x56,1,
8, 7,0x57,1,
128
};
const unsigned char* const SprPlayer2RollerRight[] = {SprPlayer2RollerRightFrame1, SprPlayer2RollerRightFrame2};
const unsigned char SprPlayer2RollerUpFrame1[] = {
0,-1,0x48,1,
8,-1,0x49,1,
0, 7,0x58,1,
8, 7,0x59,1,
128
};
const unsigned char SprPlayer2RollerUpFrame2[] = {
0,-1,0x4a,1,
8,-1,0x4b,1,
0, 7,0x5a,1,
8, 7,0x5b,1,
128
};
const unsigned char* const SprPlayer2RollerUp[] = {SprPlayer2RollerUpFrame1, SprPlayer2RollerUpFrame2};
const unsigned char SprPlayer2RollerLeftFrame1[] = {
0,-1,0x45,1|OAM_FLIP_H,
8,-1,0x44,1|OAM_FLIP_H,
0, 7,0x55,1|OAM_FLIP_H,
8, 7,0x54,1|OAM_FLIP_H,
128
};
const unsigned char SprPlayer2RollerLeftFrame2[] = {
0,-1,0x47,1|OAM_FLIP_H,
8,-1,0x46,1|OAM_FLIP_H,
0, 7,0x57,1|OAM_FLIP_H,
8, 7,0x56,1|OAM_FLIP_H,
128
};
const unsigned char* const SprPlayer2RollerLeft[] = {SprPlayer2RollerLeftFrame1, SprPlayer2RollerLeftFrame2};
const unsigned char* const * const SprPlayer2Roller[] = {SprPlayer2RollerDown, SprPlayer2RollerRight, SprPlayer2RollerUp, SprPlayer2RollerLeft};
const unsigned char SprPlayer2ChargerDownFrame1[] = {
0,-1,0x00,1,
8,-1,0x01,1,
0, 7,0x10,1,
8, 7,0x11,1,
128
};
const unsigned char SprPlayer2ChargerDownFrame2[] = {
0,-1,0x02,1,
8,-1,0x03,1,
0, 7,0x12,1,
8, 7,0x13,1,
128
};
const unsigned char* const SprPlayer2ChargerDown[] = {SprPlayer2ChargerDownFrame1, SprPlayer2ChargerDownFrame2};
const unsigned char SprPlayer2ChargerRightFrame1[] = {
0,-1,0x04,1,
8,-1,0x05,1,
0, 7,0x14,1,
8, 7,0x15,1,
128
};
const unsigned char SprPlayer2ChargerRightFrame2[] = {
0,-1,0x06,1,
8,-1,0x07,1,
0, 7,0x16,1,
8, 7,0x17,1,
128
};
const unsigned char* const SprPlayer2ChargerRight[] = {SprPlayer2ChargerRightFrame1, SprPlayer2ChargerRightFrame2};
const unsigned char SprPlayer2ChargerUpFrame1[] = {
0,-1,0x08,1,
8,-1,0x09,1,
0, 7,0x18,1,
8, 7,0x19,1,
128
};
const unsigned char SprPlayer2ChargerUpFrame2[] = {
0,-1,0x0a,1,
8,-1,0x0b,1,
0, 7,0x1a,1,
8, 7,0x1b,1,
128
};
const unsigned char* const SprPlayer2ChargerUp[] = {SprPlayer2ChargerUpFrame1, SprPlayer2ChargerUpFrame2};
const unsigned char SprPlayer2ChargerLeftFrame1[] = {
0,-1,0x05,1|OAM_FLIP_H,
8,-1,0x04,1|OAM_FLIP_H,
0, 7,0x15,1|OAM_FLIP_H,
8, 7,0x14,1|OAM_FLIP_H,
128
};
const unsigned char SprPlayer2ChargerLeftFrame2[] = {
0,-1,0x07,1|OAM_FLIP_H,
8,-1,0x06,1|OAM_FLIP_H,
0, 7,0x17,1|OAM_FLIP_H,
8, 7,0x16,1|OAM_FLIP_H,
128
};
const unsigned char* const SprPlayer2ChargerLeft[] = {SprPlayer2ChargerLeftFrame1, SprPlayer2ChargerLeftFrame2};
const unsigned char* const * const SprPlayer2Charger[] = {SprPlayer2ChargerDown, SprPlayer2ChargerRight, SprPlayer2ChargerUp, SprPlayer2ChargerLeft};
const unsigned char* const * const * const SprPlayer2[] = {SprPlayer2Roller, SprPlayer2Charger};
const unsigned char* const * const * const * const SprPlayers[] = {SprPlayer1, SprPlayer2};
/* Judd metasprites for post-game screen. */
const unsigned char judd_left[] = {
0,0,0x60,1,
8,0,0x61,1,
16,0,0x62,0,
24,0,0x63,0,
32,0,0x64,0,
0,8,0x70,1,
8,8,0x71,1,
16,8,0x72,0,
24,8,0x73,0,
32,8,0x74,0,
0,16,0x80,1,
8,16,0x81,1,
16,16,0x82,0,
24,16,0x83,0,
32,16,0x84,0,
0,24,0x90,1,
8,24,0x91,1,
16,24,0x92,0,
24,24,0x93,0,
32,24,0x94,0,
128,
};
const unsigned char judd_tie[] = {
0,0,0x65,0,
8,0,0x62,0,
16,0,0x63,0,
24,0,0x64,0,
0,8,0x75,0,
8,8,0x72,0,
16,8,0x73,0,
24,8,0x74,0,
0,16,0x85,0,
8,16,0x82,0,
16,16,0x83,0,
24,16,0x84,0,
0,24,0x95,0,
8,24,0x92,0,
16,24,0x93,0,
24,24,0x94,0,
128,
};
const unsigned char judd_right[] = {
32,0,0x60,2|OAM_FLIP_H,
24,0,0x61,2|OAM_FLIP_H,
16,0,0x62,0|OAM_FLIP_H,
8,0,0x63,0|OAM_FLIP_H,
0,0,0x64,0|OAM_FLIP_H,
32,8,0x70,2|OAM_FLIP_H,
24,8,0x71,2|OAM_FLIP_H,
16,8,0x72,0|OAM_FLIP_H,
8,8,0x73,0|OAM_FLIP_H,
0,8,0x74,0|OAM_FLIP_H,
32,16,0x80,2|OAM_FLIP_H,
24,16,0x81,2|OAM_FLIP_H,
16,16,0x82,0|OAM_FLIP_H,
8,16,0x83,0|OAM_FLIP_H,
0,16,0x84,0|OAM_FLIP_H,
32,24,0x90,2|OAM_FLIP_H,
24,24,0x91,2|OAM_FLIP_H,
16,24,0x92,0|OAM_FLIP_H,
8,24,0x93,0|OAM_FLIP_H,
0,24,0x94,0|OAM_FLIP_H,
128,
};
/* Sprites for unselected stuff */
const unsigned char unselected_roller[] = {
0,-1,0x40,2,
8,-1,0x41,2,
0, 7,0x50,2,
8, 7,0x51,2,
128
};
const unsigned char unselected_charger[] = {
0,-1,0x00,2,
8,-1,0x01,2,
0, 7,0x10,2,
8, 7,0x11,2,
128
};