-
Notifications
You must be signed in to change notification settings - Fork 0
/
qshoot.p8
590 lines (536 loc) · 28.5 KB
/
qshoot.p8
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
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
pico-8 cartridge // http://www.pico-8.com
version 41
__lua__
--qshoot
--by craig erskine
function _init()
mode="start"
t=0
cls(0)
-- stars
stars={}
for i=1,50 do
local newstar={
x=flr(rnd(128)),
y=flr(rnd(128)),
s=rnd(.5)+0.1
}
add(stars,newstar)
end
end
function _update60()
t+=1
if mode=="start" then
update_start()
elseif mode=="play" then
update_play()
elseif mode=="over" then
update_over()
elseif mode=="win" then
update_win()
end
end
function _draw()
-- clear screen
cls(0)
starfield()
stars_anim()
if mode=="start" then
draw_start()
elseif mode=="play" then
draw_game()
elseif mode=="over" then
draw_over()
elseif mode=="win" then
draw_win()
end
end
function startgame()
mode="play"
t=0
-- ship
ship={
spr=2, -- sprite
x=60,
y=112
}
-- exhaust
exh=4
-- enemies
enm=32 -- sprite
enms={}
do_enm()
-- explosions
xpls={}
-- lives
lives=3
invul=0
-- bullets
bul=16 -- sprite
buls={}
bult=0
-- muzzle flash
mzl=0
-- score
scr=0
end
--------------------------------------------------------------------------------
-- *** *** *** *** ***
-- UPDATE START
-- *** *** *** *** ***
function update_start()
if btnp(5) then
startgame()
end
end
-- *** *** *** *** ***
-- UPDATE PLAY
-- *** *** *** *** ***
function update_play()
-- reset sprite when idle
ship.spr=2
-- move left
if btn(0) then
ship.spr=1
ship.x-=1
end
-- move right
if btn(1) then
ship.spr=3
ship.x+=1
end
-- move up
if btn(2) then
ship.y-=1
end
-- move down
if btn(3) then
ship.y+=1
end
-- exhaust animate
exh+=0.33
if exh>=8 then
exh=4
end
-- screen edge detect
if ship.x>120 then
ship.x=120
end
if ship.x<0 then
ship.x=0
end
if ship.y>120 then
ship.y=120
end
if ship.y<7 then
ship.y=7
end
-- collision shots + enemies
for theenm in all(enms) do
for thebul in all(buls) do
if col(theenm,thebul) then
del(buls,thebul)
theenm.hp-=1
theenm.fl=5
if theenm.hp<=0 then
sfx(1)
do_xpl(theenm.x,theenm.y)
del(enms,theenm)
scr+=theenm.scr
do_enm()
else
sfx(2)
end
end
end
end
-- collision enemies
if invul<=0 then
for theenm in all(enms) do
if col(theenm,ship) then
lives-=1
invul=30
sfx(1)
end
end
else
invul-=1
end
-- lives
if lives<=0 then
mode="over"
return
end
-- scr limit
if scr>=10000 then
mode="win"
end
-- shoot
if btn(4) then
if bult<=0 then
bult=8
local thebul={
spr=bul,
x=ship.x,
y=ship.y-2
}
add(buls,thebul)
mzl=3
sfx(0)
end
bult-=1
end
-- bullet move/del (iterrate backwards)
for thebul in all(buls) do
thebul.y-=3
if thebul.y<-8 then
del(buls,thebul)
end
end
-- bullet animate
bul+=0.5
if bul>=19 then
bul=16
end
-- muzzle animate
mzl-=1
-- enemies move/animate
for theenm in all(enms) do
theenm.y+=.25
if theenm.y>128 then
theenm.y=5
end
theenm.spr+=0.1
if theenm.spr>=enm+4 then
theenm.spr=enm
end
end
end
-- *** *** *** *** ***
-- UPDATE OVER
-- *** *** *** *** ***
function update_over()
if btnp(5) then
startgame()
end
end
-- *** *** *** *** ***
-- UPDATE WIN
-- *** *** *** *** ***
function update_win()
if btnp(5) then
startgame()
end
end
--------------------------------------------------------------------------------
-- *** *** *** *** ***
-- DRAW START
-- *** *** *** *** ***
function draw_start()
print("qshoot!",52,30,7)
print("press 🅾️(x) to start",24,60,12)
print("❎(z) = shoot",40,75,13)
end
-- *** *** *** *** ***
-- DRAW GAME
-- *** *** *** *** ***
function draw_game()
-- ship
do_spr(ship)
-- exhaust
spr(exh,ship.x,ship.y+6)
if invul<=0 then
else
-- invul
if sin(t/5)<0 then
circ(ship.x+3,ship.y+4,8,7)
end
end
-- enemies
for theenm in all(enms) do
if theenm.fl>0 then
theenm.fl-=1
for i=1,15 do
pal(i,7)
end
end
do_spr(theenm)
pal()
end
-- bullets
for thebul in all(buls) do
do_spr(thebul)
end
-- muzzles
if mzl>0 then
circfill(ship.x,ship.y,mzl,7)
circfill(ship.x+7,ship.y,mzl,7)
end
-- explosions
for thexpl in all(xpls) do
spr(64,thexpl.x-5,thexpl.y-5,2,2)
thexpl.age-=1
if thexpl.age<=0 then
del(xpls,thexpl)
end
end
-- score
print(scr,1,1,12)
end
-- *** *** *** *** ***
-- DRAW OVER
-- *** *** *** *** ***
function draw_over()
print("game over",47,30,7)
print("press 🅾️(x) to start again",12,60,12)
end
-- *** *** *** *** ***
-- DRAW WIN
-- *** *** *** *** ***
function draw_win()
print("you win",50,30,7)
print("press 🅾️(x) to start again",12,60,12)
end
function starfield()
for i=1,#stars do
local thestar=stars[i]
local clr=13
if thestar.s<0.3 then
clr=1
elseif thestar.s<0.5 then
clr=2
end
pset(thestar.x,thestar.y,clr)
end
end
function stars_anim()
for i=1,#stars do
local thestar=stars[i]
thestar.y+=thestar.s
if thestar.y>128 then
thestar.y=thestar.y-128
end
end
end
function do_spr(sprite)
spr(sprite.spr,sprite.x,sprite.y)
end
function col(a,b)
-- a
local a_l=a.x
local a_t=a.y
local a_r=a.x+7
local a_b=a.y+7
-- b
local b_l=b.x
local b_t=b.y
local b_r=b.x+7
local b_b=b.y+7
-- check
if a_t>b_b then return false end
if b_t>a_b then return false end
if a_l>b_r then return false end
if b_l>a_r then return false end
-- bang
return true
end
function do_enm()
local theenm={
spr=enm,
x=rnd(120),
y=-8,
hp=5,
fl=0,
scr=1000
}
add(enms,theenm)
end
function do_xpl(xplx,xply)
local thexpl={
x=xplx,
y=xply,
age=5
}
add(xpls,thexpl)
end
__gfx__
00000000000220100002200001022000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000e8000100880010008e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00700700010840200008400002048000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0007700002e44e2020e44e0202e44e10000770000007700000077000000770000000000000000000000000000000000000000000000000000000000000000000
00077000027c4e202e47c4e202e47c20000cc0000077770000777700007777000000000000000000000000000000000000000000000000000000000000000000
0070070002114e202441144202e41120000000000000000000077000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000222200022222200022220000000000000cc00000000000000cc0000000000000000000000000000000000000000000000000000000000000000000
00000000000990000009900000099000000000000000000000011000000000000000000000000000000000000000000000000000000000000000000000000000
0a0000a00a0000a00a0000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
a9a00a9aa9a00a9aa9a00a9a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0a0000a0a9a00a9aa9a00a9a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000a0000a0a9a00a9a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0f0000f0000000000a0000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000f0000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000f0000f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00700700070000707000000707000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
07033070070330700703307007033070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
033bb330033bb330033bb330033bb330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3b7717b33b7717b33b7717b33b7717b3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3b7117b33b7117b33b7117b33b7117b3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
03377330033773300337733003377330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
03033030030330300303303003033030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
03300330030000303000000303000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
02000000002220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00002244444220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00022444444442000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00224488888842200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00204489999844200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00244889aa9984220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0004889aaaa988420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0044899a77a998440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0044899aaaa998440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00448899aa9988440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00248889999884420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00244488888884220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00224444444442200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00022440042222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
02000000222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
__label__
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000020000000000000001000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000700077070700770077077700700000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000007070700070707070707007000700000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000007070777077707070707007000700000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000007700007070707070707007000000000000000000000000000200000000000000000000000000
00000000000000000000000000000000000000000000000000000770770070707700770007000700000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000200000002000000000000000000000000000000000000000
00000000000000000000000000000000000002000000000000000200000020000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000
000000000000000000000000ccc0ccc0ccc00cc00cc000000ccccc000c00c2c00c000000ccc00cc000000cc0ccc0ccc0ccc0ccc0000000000000000000000000
000000000000000000000000c0c0c0c0c000c000c0000000cc000cc0c000c0c000c000000c00c0c00000c0000c00c0c0c0c00c00000000000000000000000000
000000000000000000000000ccc0cc00cc00ccc0ccc02000cc0c0cc0c0000c0000c000000c00c0c00000ccc00c00ccc0cc000c00000000000000000000000000
000000000000000000000000c000c0c0c00000c000c00000cc000cc0c000c0c000c000000c00c0c0000000c00c00c0c0c0c00c00000000000000000000000000
000000000010000000000000c000c0c0ccc0cc00cc0000000ccccc000c00c0c00c0000000c00cc000000cc000c00c0c0c0c00c00000000000000010010000000
00000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
02000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000ddddd000d00ddd00d000000000000000dd0d0d00dd00dd0ddd0000000000000000000000000000000000000
0000000000000000000000000000000000000000dd0d0dd0d00000d000d00000ddd00000d000d0d0d0d0d0d00d00000000000000000000000000000000000000
0000000000000000000000000000000000000000ddd0ddd0d0000d0000d0000000000000ddd0ddd0d0d0d0d00d00000000000000000000000000000000000000
0000000000000000000000000000000000000000dd0d0dd0d000d00000d00000ddd0000000d0d0d0d0d0d0d00d00000000000000000000000000000000000000
00000000000000000000000000000000000000000ddddd000d00ddd00d00000000000000dd00d0d0dd00dd000d00000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000002000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000d0000000000000000000000000000000000000000000000000000000
00000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000010000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
__sfx__
00010000395500a5502d5501f5500f550095500555002550015500055000500005000050000500005000050000500005000050000500005000050000500005000050000500005000050000500005000050000500
00020000396500a6502d6501f6500f650096500565002650016500065000600006000060000600006000060000600006000060000600006000060000600006000060000600006000060000600006000060000600
000100003605017050360501705000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000