palpic2png.c: improve, make usable with ppic binary files
[rofl0r-openDOW.git] / maps / map_australia.c
blob4942815e24593b92a563c67440638b49a2c419a1
1 #include "../map.h"
3 #define SCREEN_COUNT 25
4 #define BONUS_COUNT 10
6 const struct {
7 struct map header;
8 struct map_screen screens[SCREEN_COUNT];
9 mapscreen_index bonus_index[BONUS_COUNT];
10 struct map_fglayer bonus_screens[BONUS_COUNT];
11 } map_australia = {
12 .header = {
13 .maptype = MT_DESERT,
14 .mission_text = {
15 " criminals have stolen a crate of",
16 "priceless oil paintings during",
17 "transit to a new gallery. if you",
18 "can retrieve them we will pay you",
19 "$5000."
21 .rewardk = 5,
22 .client_face = 10,
23 .mini_pic = 0,
24 .boss_id = 2,
25 .worldmap_coords = VEC(211,91),
26 .bonuslayer_count = BONUS_COUNT,
27 .enemy_type = ET_ASIAN,
28 .enemy_palette = {
29 PRGB( 0, 0, 0),
30 PRGB(119, 85, 17),
31 PRGB( 17, 51, 51),
32 PRGB(187, 119, 85),
33 PRGB(187, 153, 85),
34 PRGB( 51, 85, 85),
35 PRGB(0x77, 0x77, 0x11),
36 PRGB( 51, 119, 51),
38 .screen_map = {
39 #define X MAPSCREEN_BLOCKED
40 [ 0] = { X, X, X, X, X, X, X },
41 [ 1] = { X, X, X, X, X, X, X },
42 [ 2] = { X,24, X, X, X, X, X },
43 [ 3] = { X,23, X, X, X, X, X },
44 [ 4] = { X,22, X, X, X, X, X },
45 [ 5] = { X,21, X, X, X, X, X },
46 [ 6] = { X,20, X, X, X, X, X },
47 [ 7] = { X,19, X, X, X, X, X },
48 [ 8] = { X,18,18,18,18,18, X },
49 [ 9] = { X,18,18,18,18,17, X },
50 [10] = { X, X, X, X, X,16, X },
51 [11] = { X, X, X, X, X,15, X },
52 [12] = { X, X, X, X, X,14, X },
53 [13] = { X, X, X, X, X,13, X },
54 [14] = { X,12,12,12,12,12, X },
55 [15] = { X,11,12,12,12,12, X },
56 [16] = { X,10, X, X, X, X, X },
57 [17] = { X, 9, X, X, X, X, X },
58 [18] = { X, 8, X, X, X, X, X },
59 [19] = { X, 7, X, X, X, X, X },
60 [20] = { X, 6, 6, 6, 6, 6, X },
61 [21] = { X, 6, 6, 6, 6, 5, X },
62 [22] = { X, X, X, X, X, 4, X },
63 [23] = { X, X, X, X, X, 3, X },
64 [24] = { X, X, X, X, X, 2, X },
65 [25] = { X, X, X, X, X, 1, X },
66 [26] = { X, X, X, X, X, 0, X },
67 [27] = { X, X, X, X, X, 0, X },
68 #undef X
71 .screens = {
72 [0] = {
73 .bg = {{
74 {3,3,3,},
75 {3,3,3,},
76 {3,3,3,},
77 {3,3,3,},
78 {3,3,3,},
79 {3,3,3,},
80 }},
81 .fg = {{
82 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
83 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
84 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
85 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
86 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
87 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
88 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
89 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
90 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
91 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
92 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
93 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
94 }},
96 [1] = {
97 .bg = {{
98 {1,1,1,},
99 {3,3,3,},
100 {3,3,3,},
101 {3,3,3,},
102 {3,3,3,},
103 {3,3,3,},
105 .fg = {{
106 { 65, 0,148, 0, 0, 0,152,147,147,147,147,147,},
107 { 69, 0,148, 0, 0, 0,148, 0, 0, 0,161, 0,},
108 { 73, 0,148, 0, 0, 0,148, 0, 0, 0, 0, 58,},
109 { 0, 0,148, 0,154, 0,148, 0, 0, 0, 0, 62,},
110 {147,147,150, 0, 0, 0,148, 0, 0, 0, 0, 66,},
111 { 0, 0,162, 0, 0, 0,148, 0, 0,155, 0, 70,},
112 {154, 0, 0, 0, 0, 0,149,147,147,147,147,147,},
113 { 0, 0, 0, 0, 88, 0, 0, 88, 0, 0, 0,159,},
114 { 44, 44, 44, 44, 45, 0,164, 46, 44, 44, 44, 44,},
115 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
116 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
117 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
120 [2] = {
121 .bg = {{
122 {0,0,0,},
123 {0,0,0,},
124 {0,0,0,},
125 {0,0,0,},
126 {0,0,0,},
127 {1,1,0,},
129 .fg = {{
130 { 65, 0, 0,148, 0, 0, 0, 0, 0, 0, 0, 0,},
131 { 69, 0, 0,148, 0, 0, 0, 0, 0,163, 0, 0,},
132 { 73, 0, 0,148,154, 0, 0, 0, 0, 0, 0, 0,},
133 {147,147,147,150, 0, 0,152,147,147,147,147,147,},
134 { 0, 0, 0, 0, 0, 0,148, 0, 0, 0, 0, 0,},
135 {147,147,147,147,147,147,150, 0, 0, 0, 0, 0,},
136 { 0, 0, 0, 0,164, 0, 0, 0,162, 0, 0, 0,},
137 { 0, 0, 0, 0, 0, 0, 0, 0, 58, 59, 60, 61,},
138 { 0, 0, 0, 0, 0, 0, 0, 0, 62, 63, 64, 65,},
139 { 0, 0, 0, 0, 0, 0, 0, 0, 66, 67, 68, 69,},
140 {147,147,151, 0, 0, 0, 0, 0, 70, 78, 79, 73,},
141 { 61, 0,148,163, 0, 0, 0, 0, 0, 0, 0, 0,},
144 [3] = {
145 .bg = {{
146 {0,0,0,},
147 {0,0,0,},
148 {0,0,0,},
149 {1,1,1,},
150 {1,1,1,},
151 {0,0,0,},
153 .fg = {{
154 { 0, 0,153, 0, 0, 0, 0, 0, 0,154,148, 0,},
155 { 48, 48, 0, 0, 0, 0, 0,152,147,147,150, 0,},
156 { 0, 0, 0, 0, 0, 0, 0,148,159, 0, 0, 0,},
157 { 0, 0, 0, 0, 0, 0, 0,148, 0,155, 0, 0,},
158 { 0,154, 0, 0, 0, 0, 0,148, 0, 0, 0, 0,},
159 { 0, 0, 0, 0, 0,162, 0,148, 0, 48, 48, 48,},
160 { 0, 0, 0, 0, 0, 0, 0,148, 0, 0, 0, 0,},
161 { 0, 0, 0,152,147,147,147,150, 0, 0, 0,161,},
162 { 0, 0, 0,148, 0,164, 0, 0, 0, 0, 0, 0,},
163 { 0, 0, 0,148, 0, 0, 0, 0, 0,153, 0, 0,},
164 {160, 0, 0,148, 0, 0, 0, 0, 0, 0, 0,154,},
165 { 61, 0, 0,148, 0, 0,155, 0, 0, 0, 0, 0,},
168 [4] = {
169 .bg = {{
170 {1,1,1,},
171 {0,0,0,},
172 {0,0,0,},
173 {1,1,1,},
174 {1,1,1,},
175 {1,1,1,},
177 .fg = {{
178 { 0, 0, 0, 0, 0, 0, 0, 0, 0,154,149,147,},
179 { 60, 61, 0, 0, 0, 0, 0,161, 0, 0, 0, 0,},
180 { 64, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
181 { 68, 69, 0, 0,155, 0, 0, 0, 0, 0,153, 0,},
182 { 72, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
183 {150, 0,162, 0, 0, 0, 0, 0, 0,164, 0, 0,},
184 {147,147,147,147,147,147,147,147,147,147,147,147,},
185 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
186 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,152,147,},
187 { 0, 0, 0, 0, 0, 0, 0, 0,163, 0,148, 0,},
188 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,148, 0,},
189 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,148, 0,},
192 [5] = {
193 .bg = {{
194 {2,2,2,},
195 {1,3,3,},
196 {3,3,3,},
197 {3,3,3,},
198 {3,3,3,},
199 {3,3,3,},
201 .fg = {{
202 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
203 { 0, 0, 0, 0, 88, 0, 0, 0, 0, 88, 0, 0,},
204 { 44, 44, 44, 44, 45, 0, 0, 0,159, 46, 44, 44,},
205 { 0, 0,161, 0, 0,154, 0, 0, 0, 0, 0, 0,},
206 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
207 {147,147,147,151, 0, 0, 0, 0, 0,155, 0, 0,},
208 { 0, 0, 0,148, 0, 0, 0, 0, 0, 58, 59, 60,},
209 { 0, 0,163,148,153, 0, 0, 0, 0, 62, 63, 64,},
210 { 0, 0, 0,148, 0, 0, 0, 0,162, 66, 67, 68,},
211 { 0, 0, 0,148, 0, 0, 0, 0, 0, 70, 71, 72,},
212 { 0, 0, 0,148, 0, 0, 0, 0, 0, 0, 0, 0,},
213 {160, 0, 0,149,147,147,147,147,147,147,151, 0,},
216 [6] = {
217 .bg = {{
218 {2,2,2,},
219 {2,2,2,},
220 {2,2,2,},
221 {2,2,2,},
222 {2,2,2,},
223 {2,2,2,},
225 .fg = {{
226 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
227 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
228 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
229 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
230 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
231 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
232 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
233 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
234 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
235 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
236 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
237 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
240 [7] = {
241 .bg = {{
242 {3,3,1,},
243 {3,1,3,},
244 {2,2,1,},
245 {2,1,2,},
246 {2,2,2,},
247 {2,2,2,},
249 .fg = {{
250 {179, 0,179, 38, 0,201, 0, 0, 0, 0,157, 0,},
251 { 11, 0, 11, 38, 0,160, 0, 0, 0, 0, 0, 0,},
252 { 0,173, 39, 43, 0,201, 0, 0, 0, 0, 0, 0,},
253 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
254 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
255 { 0, 0, 0,157, 0, 0, 0, 0,161, 0, 0, 0,},
256 { 59, 60, 61, 0, 0, 0, 0, 0, 58, 59, 60, 61,},
257 { 63, 64, 65, 0, 0, 0, 0, 0, 62, 63, 64, 65,},
258 { 67, 68, 69, 0, 0, 0, 0, 0, 66, 67, 68, 69,},
259 { 71, 72, 73, 0, 0, 0, 0, 0, 70, 71, 72, 73,},
260 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
261 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
264 [8] = {
265 .bg = {{
266 {3,2,2,},
267 {3,3,2,},
268 {2,2,3,},
269 {1,1,1,},
270 {0,0,0,},
271 {1,1,1,},
273 .fg = {{
274 {164, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
275 { 0, 0,153, 0, 0, 0, 0, 0, 0, 0,162, 0,},
276 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
277 {163, 0,157, 0, 0, 0,161, 0, 0, 0, 0, 0,},
278 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
279 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
280 { 39, 39, 39, 41, 0, 0, 0, 0, 0,165, 0, 0,},
281 { 11, 0, 11, 38, 0, 0, 0, 0, 0, 0, 0, 0,},
282 {179, 0,179, 38, 0, 0, 0, 0, 0, 58, 59, 60,},
283 { 11, 0, 11, 38, 0,165, 0, 0, 0, 62, 63, 64,},
284 {179, 0,179, 38, 0, 0, 0, 0, 0, 66, 67, 68,},
285 { 11, 0, 11, 38, 0, 0, 0, 0, 0, 70, 78, 79,},
288 [9] = {
289 .bg = {{
290 {5,5,5,},
291 {5,5,5,},
292 {5,5,5,},
293 {5,5,5,},
294 {5,5,5,},
295 {3,3,3,},
297 .fg = {{
298 {181,182, 0, 0, 0, 0,174, 0, 0, 0, 0, 0,},
299 {183,184, 0,175, 0, 0, 0, 0, 0, 0, 0,175,},
300 {181,182, 0, 50, 0, 0, 0, 0,178, 0, 0, 0,},
301 {183,184,181, 52, 0, 0, 0, 0, 0, 0, 0, 0,},
302 {181,182,183, 49, 50, 0, 0, 0, 0, 0, 53, 54,},
303 {183,184,181,182, 52, 0,177, 0, 0, 0, 55, 56,},
304 {181,182,183, 52, 54, 0, 0, 0, 0, 0, 0,175,},
305 {183,184, 50, 55, 56, 0, 0, 0, 0, 0,176, 0,},
306 { 44, 44, 44, 44, 45, 0, 0, 46, 44, 44, 44, 44,},
307 {188,188,188,188,188,188,188,188,188,188,188,188,},
308 {187,187,187,187,187,187,187,187,187,187,187,187,},
309 { 44, 44, 44, 44, 45, 0, 0, 46, 44, 44, 44, 44,},
312 [10] = {
313 .bg = {{
314 {5,5,5,},
315 {5,5,5,},
316 {5,5,5,},
317 {5,5,5,},
318 {5,5,5,},
319 {5,5,5,},
321 .fg = {{
322 { 0,169, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
323 { 10, 0, 0, 0, 0, 0, 0, 0, 0, 6, 5, 7,},
324 { 0, 0, 0, 0,177, 0, 0, 0, 0, 8, 8, 8,},
325 {171,170, 0, 0, 0, 0, 0, 0, 0,168, 0, 0,},
326 { 0, 0, 0, 0, 0, 0,175, 0, 0,169, 0, 0,},
327 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2,},
328 { 0, 0, 0,168, 0, 0, 0, 0, 0, 0, 3, 4,},
329 { 0, 0, 0, 0, 0, 0, 0, 0, 0,168,177, 0,},
330 { 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
331 {168, 0, 0, 0, 0, 0, 0,169, 0, 0, 0, 0,},
332 {175, 0, 0, 0, 0, 0, 0, 0, 0, 0,170, 0,},
333 { 49, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32,},
336 [11] = {
337 .bg = {{
338 {5,5,5,},
339 {5,5,5,},
340 {5,5,5,},
341 {5,5,5,},
342 {5,5,5,},
343 {5,5,5,},
345 .fg = {{
346 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
347 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
348 {175, 0, 0, 0, 0, 0, 0, 48, 48, 48, 48, 48,},
349 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 50,},
350 { 0, 0, 0,176, 0, 0, 0, 0, 0, 0, 51, 52,},
351 { 0, 0, 0, 0, 0, 0, 0,177, 0, 0, 0,175,},
352 { 0, 0, 0, 0, 0,168, 0, 0, 0, 0, 0, 10,},
353 { 0,178, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
354 { 0, 0, 0, 0,178, 0, 0, 0,174, 0, 0, 0,},
355 { 0, 0, 0, 0, 0,175, 0, 0, 0, 0, 0, 0,},
356 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31,},
357 { 0, 0, 0, 0, 0, 0, 0, 0,176, 0, 0, 0,},
360 [12] = {
361 .bg = {{
362 {5,5,5,},
363 {5,5,5,},
364 {5,5,5,},
365 {5,5,5,},
366 {5,5,5,},
367 {5,5,5,},
369 .fg = {{
370 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
371 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
372 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
373 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
374 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
375 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
376 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
377 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
378 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
379 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
380 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
381 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
384 [13] = {
385 .bg = {{
386 {5,5,5,},
387 {5,5,5,},
388 {5,5,5,},
389 {5,5,5,},
390 {5,5,5,},
391 {5,5,5,},
393 .fg = {{
394 {183,184, 0, 0, 0,169, 0,148, 0, 0, 0, 0,},
395 {181,182, 0, 0, 0, 0, 0,148, 48, 48, 48, 48,},
396 {183,184, 0,176, 0, 0, 0,149,147,147,147,147,},
397 {181,182, 0, 0, 0, 0, 0, 0, 0, 0, 0,175,},
398 {183,184, 0, 0, 0, 0, 0, 0, 0,169, 0, 0,},
399 {181,182, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0,},
400 {183,184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
401 {181,182, 0, 0, 0,157, 0, 0, 0, 0, 0,170,},
402 {183,184, 50, 0, 0, 0, 0, 0, 0,175, 0, 0,},
403 { 52, 51, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
404 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
405 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
408 [14] = {
409 .bg = {{
410 {5,5,5,},
411 {5,5,5,},
412 {5,5,5,},
413 {5,5,5,},
414 {5,5,5,},
415 {5,5,5,},
417 .fg = {{
418 {183,184,183, 49,183,184, 0, 0,148, 0, 0, 0,},
419 {181,182,181,182, 0, 0, 0,175,148, 0,180, 0,},
420 {183,184,183,184, 0,176, 0,152,150, 0, 0, 0,},
421 { 52,182,181,182, 0, 0, 0,148,178, 0, 0,189,},
422 { 50, 49,183, 49, 50, 0, 0,148, 0, 0, 0, 0,},
423 {181,182, 52, 51, 52, 0, 0,148, 0, 0, 0,176,},
424 {183,184, 0, 49, 0, 0,177,148, 0,177, 0, 0,},
425 {181,182,181,182, 0, 0, 0,148, 0, 0,175, 0,},
426 {183,184,183,184, 0, 0, 0,148, 0, 0, 0, 0,},
427 {181,182, 0, 0, 0, 0, 0,148, 0, 0,169, 0,},
428 {183, 0, 0,175,177, 0, 0,148,176, 0, 0, 0,},
429 {181,182, 0, 0, 0, 0, 0,148, 0, 0, 0,175,},
432 [15] = {
433 .bg = {{
434 {5,5,5,},
435 {5,5,5,},
436 {5,5,5,},
437 {5,5,5,},
438 {5,5,5,},
439 {5,5,5,},
441 .fg = {{
442 { 0, 0, 0, 0, 0, 0,148, 0, 0, 0, 0, 62,},
443 { 0,175, 0, 0, 0, 0,149,147,151, 0, 0, 66,},
444 { 0, 0, 0, 0, 0, 0,176, 0,148, 0, 0, 70,},
445 {175, 0, 0,169, 0, 0, 0, 0,148, 0, 0, 0,},
446 { 0, 0, 0, 0, 0, 0, 0, 0,148, 0, 0, 0,},
447 {181,182, 0, 0, 0, 0,180, 0,148, 0, 0, 0,},
448 {183,184, 0, 0, 0, 0, 0, 0,148, 0, 0,169,},
449 {181,182,181,182,181,182, 0, 0,148, 0, 0, 0,},
450 {183,184,183,184,183,184, 0, 0,148, 0,175, 0,},
451 {181,182,181,182,181,182, 0, 0,148, 0, 0, 0,},
452 {183,184,183,184,183,184, 0, 0,148, 0, 0, 0,},
453 {181,182,181,182,181,182, 0, 0,148, 0,169, 0,},
456 [16] = {
457 .bg = {{
458 {5,5,5,},
459 {5,5,5,},
460 {5,5,5,},
461 {5,5,5,},
462 {5,5,5,},
463 {5,5,5,},
465 .fg = {{
466 {127, 0, 0, 0, 0, 0,169, 0, 0, 0, 0, 0,},
467 {127, 50, 0, 0,175, 0, 0, 0, 0, 0, 0, 0,},
468 { 51, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
469 { 0, 0, 0,152,147,147,147,147,147,147,147,147,},
470 { 0, 0, 0,148, 0, 0, 0,168, 0, 0, 0, 0,},
471 { 0, 0, 0,148, 58, 59, 60, 61, 0, 0, 0,168,},
472 { 0,169, 0,148, 62, 63, 64, 65, 0, 0, 0, 0,},
473 { 0, 0, 0,148, 66, 67, 68, 69, 0,158, 0, 0,},
474 {175, 0, 0,148, 70, 71, 72, 73, 0, 0, 0, 0,},
475 { 0, 0,176,149,147,147,151, 31, 0, 0, 0,175,},
476 { 0, 0, 0, 0, 0, 0,148, 0, 0, 0, 0, 0,},
477 { 0, 0, 0, 0, 0, 0,148, 0, 0, 0,168, 58,},
480 [17] = {
481 .bg = {{
482 {4,4,4,},
483 {4,4,4,},
484 {5,5,5,},
485 {5,5,5,},
486 {5,5,5,},
487 {5,5,5,},
489 .fg = {{
490 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
491 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
492 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
493 {140,140,140,140,140,140,140,140,140,140,140,140,},
494 {127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
495 {127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
496 {127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
497 {127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
498 {127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
499 {127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
500 {127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
501 {127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
504 [18] = {
505 .bg = {{
506 {4,4,4,},
507 {4,4,4,},
508 {4,4,4,},
509 {4,4,4,},
510 {4,4,4,},
511 {4,4,4,},
513 .fg = {{
514 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
515 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
516 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
517 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
518 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
519 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
520 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
521 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
522 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
523 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
524 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
525 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
528 [19] = {
529 .bg = {{
530 {4,4,4,},
531 {4,4,4,},
532 {4,4,4,},
533 {4,4,4,},
534 {4,4,4,},
535 {4,4,4,},
537 .fg = {{
538 { 0, 0,208, 0, 0, 0, 0, 42, 39, 39, 39, 39,},
539 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,209, 0,},
540 { 0, 0, 0,161, 0, 0, 0, 0, 0, 0, 0, 0,},
541 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
542 { 0, 0, 0, 0, 0, 28, 29, 29, 29, 29, 29, 29,},
543 { 0,168, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
544 { 0, 0, 0, 0, 0, 0, 0,209, 0, 0, 0, 0,},
545 {164, 0, 0, 0, 0, 0, 0, 0,162, 0, 0,159,},
546 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
547 {147,147,147,147,147,147,147,147,147,147,147,147,},
548 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
549 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
552 [20] = {
553 .bg = {{
554 {4,4,4,},
555 {4,4,4,},
556 {4,4,4,},
557 {4,4,4,},
558 {4,4,4,},
559 {4,4,4,},
561 .fg = {{
562 {147,147,147,147,147,147,147,147,147,147,147,147,},
563 {188,188,188,188,188,188,188,188,188,188,188,188,},
564 {187,187,187,187,187,187,187,187,187,187,187,187,},
565 {147,147,147,147,147,147,147,147,147,147,147,147,},
566 { 0, 0,162, 0, 0, 0, 0, 0,167, 0, 0, 0,},
567 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
568 { 0, 0, 0, 0, 0, 0, 0, 40, 39,172,173, 39,},
569 { 0,167, 0, 0, 0, 0, 0, 38, 0, 36, 37, 0,},
570 { 0, 0, 0, 0, 0, 0,168, 42, 39,172,173, 39,},
571 { 0, 0, 0, 0, 0, 0, 0, 88, 0, 36, 37, 0,},
572 { 0, 0, 0, 0, 0, 0, 0, 40, 39,172,173, 39,},
573 { 0, 0, 0, 0,159, 0, 0, 38, 0, 36, 37, 0,},
576 [21] = {
577 .bg = {{
578 {4,4,4,},
579 {4,4,4,},
580 {4,4,4,},
581 {4,4,4,},
582 {4,4,4,},
583 {4,4,4,},
585 .fg = {{
586 { 0,148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
587 { 0,148, 0, 0, 0,152,147,147,147,147,147,147,},
588 { 0,148, 0, 0, 0,148, 0, 0, 0,164, 0, 0,},
589 { 0,148, 0, 58, 59,148, 61, 0, 0, 0, 0, 0,},
590 { 0,148, 0, 62, 63, 64, 65, 0, 0, 0, 0, 0,},
591 { 0,148, 0, 66, 67, 68, 69, 0, 0, 0, 0, 0,},
592 { 0,148, 0, 70, 71, 72, 73, 0, 0,162, 0, 0,},
593 { 0,148,159, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
594 { 0,149,147,147,147,147,147,147,147,147,147,147,},
595 { 0,175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
596 { 0, 0, 0, 0, 0, 0, 0, 0, 0,161, 0, 0,},
597 { 0, 0, 0, 0,160, 0, 0, 0, 0, 0, 0, 0,},
600 [22] = {
601 .bg = {{
602 {4,4,4,},
603 {4,4,4,},
604 {4,4,4,},
605 {4,4,4,},
606 {4,4,4,},
607 {4,4,4,},
609 .fg = {{
610 { 78, 79, 73, 0,148, 0, 0, 0, 0, 0, 0, 0,},
611 { 0, 0, 0, 0,148, 0,160, 0, 0, 0, 0, 0,},
612 { 0, 0, 0, 0,148, 0, 0, 0,175, 0, 0, 0,},
613 { 0, 0,159, 0,148, 0, 0, 0, 0, 0, 0, 0,},
614 { 0, 0, 0, 0,148, 0, 0, 0, 0, 0, 0, 0,},
615 { 0, 0, 0, 0,148, 0, 0, 46, 44, 44, 44, 44,},
616 { 0, 0, 0, 0,148, 0, 0, 0, 0, 0, 0, 0,},
617 { 0,152,147,147,150, 0, 0, 0, 0, 0, 0, 0,},
618 { 0,148, 0, 0, 0, 0, 0, 0, 0,162, 0, 0,},
619 { 0,148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
620 { 0,148,161, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
621 { 0,148, 0, 0, 0, 0, 0,166, 0, 0, 0, 0,},
624 [23] = {
625 .bg = {{
626 {4,4,4,},
627 {4,4,4,},
628 {4,4,4,},
629 {4,4,4,},
630 {4,4,4,},
631 {4,4,4,},
633 .fg = {{
634 { 0, 0, 0, 0, 0, 0, 0, 0,157, 0, 0, 0,},
635 { 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,},
636 { 0, 0,168, 0, 0, 0, 0, 0, 0, 0, 0,159,},
637 { 0, 0, 0, 0, 0, 0, 0,152,147,147,147,147,},
638 { 0, 0, 0, 0, 0, 0, 0,148, 62, 63, 64, 65,},
639 { 0,160, 0, 0, 0, 0, 0,148, 66, 67, 68, 69,},
640 { 0, 0, 0, 0, 0, 0, 0,148, 70, 71, 72, 73,},
641 {147,147,147,147,151,161, 0,149,147,147,147,147,},
642 { 0, 0, 0, 0,148, 0, 0, 0, 0, 0, 0, 0,},
643 { 59, 60, 61, 0,148, 0, 0,168, 0, 0, 0, 0,},
644 { 63, 64, 65, 0,148, 0, 0, 0, 0, 0, 0, 0,},
645 { 67, 68, 69, 0,148, 0, 0, 0, 0,162, 0, 0,},
648 [24] = {
649 .bg = {{
650 {4,4,4,},
651 {4,4,4,},
652 {4,4,4,},
653 {4,4,4,},
654 {4,4,4,},
655 {4,4,4,},
657 .fg = {{
658 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
659 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,161,},
660 { 0, 58, 59, 60, 61, 0, 0, 0,156,130, 0, 0,},
661 { 0, 62, 63, 64, 65, 0, 0, 0,133, 31,175, 0,},
662 { 0, 66, 67, 68, 69, 0, 0, 0, 0,131, 0, 0,},
663 {155, 70, 71, 72, 73, 0, 0, 0, 0, 0, 0, 0,},
664 { 0, 0, 0, 0, 0, 0, 58, 59, 60, 61, 0, 0,},
665 { 0, 0, 0, 0,156, 0, 62, 63, 64, 65, 0, 0,},
666 { 58, 59, 60, 61, 0, 0, 66, 67, 68, 69, 0, 58,},
667 { 62, 63, 64, 65, 0, 0, 70, 71, 72, 73,155, 62,},
668 { 66, 67, 68, 69, 0, 0, 0, 0, 0, 0, 0, 66,},
669 { 70, 71, 72, 73,161,162, 0, 0, 0, 0, 0, 70,},
674 .bonus_index = {
675 7,9,13,14,15,16,17,20,21,23,
677 .bonus_screens = {
678 [0] = {{
679 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
680 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
681 { 34, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
682 { 36, 37, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
683 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
684 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
685 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
686 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
687 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
688 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
689 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
690 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
692 [1] = {{
693 { 51, 53, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
694 { 0, 55, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
695 { 0, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
696 { 0, 0, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
697 { 53, 54, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
698 { 55, 56, 50, 51, 0, 0, 0, 0, 0, 0, 0, 0,},
699 { 0, 51, 52, 53, 0, 0, 0, 0, 0, 0, 0, 0,},
700 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
701 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
702 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
703 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
704 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
706 [2] = {{
707 { 50, 53, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
708 { 52, 55, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
709 { 54, 49, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
710 { 56, 51, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
711 { 50, 49, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
712 { 52, 51, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
713 { 50, 53, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
714 { 52, 55, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
715 { 50, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
716 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
717 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
718 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
720 [3] = {{
721 {113, 49,110,111, 50, 49, 50, 0, 0, 0, 0, 0,},
722 { 56, 51,112,113, 52, 51, 52, 0, 0, 0, 0, 0,},
723 { 50, 49, 50, 53, 54, 0, 0, 0, 0, 0, 0, 0,},
724 {110, 51, 52, 55, 56, 0, 0, 0, 0, 0, 0, 0,},
725 {112,113, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
726 { 52, 51,110,111, 0, 0, 0, 0, 0, 0, 0, 0,},
727 { 50, 53, 54,113, 50, 0, 0, 0, 0, 0, 0, 0,},
728 { 52, 55, 56, 51, 52, 0, 0, 0, 0, 0, 0, 0,},
729 { 50, 49, 50, 49, 50, 0, 0, 0, 0, 0, 0, 0,},
730 { 52, 51, 52, 51, 52, 0, 0, 0, 0, 0, 0, 0,},
731 { 50, 49, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
732 { 52, 51, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
734 [4] = {{
735 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
736 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
737 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
738 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
739 { 53, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
740 { 55, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
741 { 49, 50, 49, 50, 49, 50, 0, 0, 0, 0, 0, 0,},
742 { 51,110,111, 52, 51, 52, 0, 0, 0, 0, 0, 0,},
743 { 50,112,113, 49, 50, 49, 50, 0, 0, 0, 0, 0,},
744 { 52, 51, 52, 51, 52, 51, 52, 0, 0, 0, 0, 0,},
745 { 50,110,111, 53, 54,110, 50, 0, 0, 0, 0, 0,},
746 { 52,112,113, 55, 56,112, 52, 0, 0, 0, 0, 0,},
748 [5] = {{
749 { 57, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
750 { 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
751 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
752 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
753 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
754 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
755 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
756 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
757 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
758 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
759 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
760 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
762 [6] = {{
763 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
764 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
765 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
766 { 44, 44, 44, 44, 45, 0, 0, 46, 44, 44, 44, 44,},
767 { 0, 0, 0, 0, 0, 0, 0, 0,171, 0, 0, 0,},
768 { 0, 0,168, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
769 { 58, 59, 74, 74, 60, 61, 0,168, 0, 0, 0,161,},
770 { 62, 63, 75, 75, 64, 65, 0, 0, 0, 0, 0, 0,},
771 { 66, 67, 76, 76, 68, 69, 0, 0,171, 0, 0, 0,},
772 { 70, 71, 77, 77, 72, 73, 0, 0, 0, 0, 0, 0,},
773 { 57, 0, 0, 0, 0, 0, 0, 0, 0, 0,157, 0,},
774 { 57, 0,170, 0, 0, 0, 0, 0, 0, 0, 0,175,},
776 [7] = {{
777 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
778 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
779 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
780 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
781 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
782 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
783 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 35, 0,},
784 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
785 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 35, 0,},
786 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
787 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 35, 0,},
788 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
790 [8] = {{
791 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
792 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
793 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
794 { 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0,},
795 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
796 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
797 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
798 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
799 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
800 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
801 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
802 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
804 [9] = {{
805 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
806 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
807 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
808 { 0, 0, 0, 0, 0, 0, 0, 0, 58, 59, 60, 61,},
809 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
810 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
811 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
812 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
813 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
814 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
815 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
816 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,},
821 #undef SCREEN_COUNT
822 #undef BONUS_COUNT