-
Notifications
You must be signed in to change notification settings - Fork 1
/
shark.p8
1001 lines (906 loc) · 42.5 KB
/
shark.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
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
pico-8 cartridge // http://www.pico-8.com
version 16
__lua__
--shark wars
--by a2
function _init()
add_mode("menu",menu_init,menu_update,menu_draw)
add_mode("intro",intro_init,intro_update,intro_draw)
add_mode("game",game_init,game_update,game_draw)
add_mode("gameover",gameover_init,gameover_update,gameover_draw)
set_mode("menu")
end
function _update()
mode:update()
end
function _draw()
mode:draw()
end
--valid layer indices (update here to allow new z-values)
game_layers={-1,0,1}
-->8
--modes
function add_mode(name,init,update,draw,skip_default)
local function wrap(default,custom)
return function(mode)
if (not skip_default) default(mode)
custom(mode)
end
end
local new_mode={
name=name,
init=wrap(default_init,init),
update=wrap(default_update,update),
draw=wrap(default_draw,draw)
}
if (all_modes==nil) all_modes={}
all_modes[name]=new_mode
return new_mode
end
function set_mode(name)
mode=all_modes[name]
assert(mode!=nil,"undefined mode "..name)
mode:init()
return mode
end
function default_init(mode)
--game objects
local layer
mode.game_objects={}
for layer in all(game_layers) do
mode.game_objects[layer]={}
end
end
function default_update(mode)
--update all game objects
foreach_game_object(function(obj)
obj:update()
end)
--filter out "dead" objects
filter_out_finished()
end
function default_draw(mode)
cls(0)--clear the screen
--draw visible game objects
foreach_game_object(function(obj)
if (obj.visible) obj:draw()
end)
end
-->8
--menu loop
function menu_init(mode)
music(0)
mode.index=1
mode.choice=nil
mode.options={
"start game",
"how to play",
}
mode.shark=make_menu_shark(36,73)
make_starfield()
end
function menu_update(mode)
if btnp(4) or btnp(5) then
if mode.choice==nil then
sfx(2)
mode.choice=mode.index
elseif mode.choice!=1 then
mode.choice=nil
end
end
if mode.choice!=nil then
if mode.shark.x<140 then
mode.shark.x+=4
elseif mode.choice==1 then
--play
set_mode("intro")
end
return
end
local offset=0
if btnp(2) then
offset=-1
elseif btnp(3) then
offset=1
end
local c=#mode.options
mode.index=max(1,min(c,mode.index+offset))
mode.shark.x=hcenter(mode.options[mode.index])-20
mode.shark.y=63+10*mode.index
end
function menu_draw(mode)
local function do_draw(y,i,j)
--shark
sspr(41,0,16,13,30+i,y+j)--s
sspr(57,0,12,13,45+i,y+j)--h
sspr(100,0,28,13,57+i,y+j)--ar
sspr(65,0,15,13,85+i,y+j)--k
--wars
sspr(80,0,20,13,36+i,y+17+j)--w
sspr(100,0,28,13,54+i,y+17+j)--ar
sspr(41,0,16,13,77+i,y+17+j)--s
end
local i,j
local y=23
pal(10,0)
for i=-1,1 do
for j=-1,1 do
do_draw(y,i,j)
end
end
pal()
do_draw(y,0,0)
y+=34
local subtitle="by @a2"
outline(subtitle,hcenter(subtitle),y,10,0)
y+=8
y+=10
if mode.choice!=nil and mode.shark.x>=140 then
if mode.choice==2 then
--contols
local texts,text={
"use ❎ to shoot ufoS",
"⬆️⬇️ to move the shark",
"",
"collect power-ups and",
"don't let the ufoS past you"
}
for text in all(texts) do
outline(text,hcenter(text),y,7,5)
y+=8
end
end
else
local i
for i=1,#mode.options do
local opt=mode.options[i]
if mode.choice!=i then
outline(opt,hcenter(opt),y,7,5)
end
y+=10
end
end
end
-->8
--intro loop
function intro_init(mode)
music(-1)
mode.colors={
{5,5},--inactive
{10,7},--active
}
mode.index=1
mode.messages={
{
{1,"[nasa says]"},
{2,"we have received a message"},
{2,"from the aliens that live on"},
{2,"the moons of saturn."},
{1,""},
{1,"⬆️⬇️ navigate - ❎ skip intro"},
},
{
{1,"[the message reads]"},
{2,"there is a threat!"},
{2,"it comes from a faraway galaxy!"},
{2,"please save us!!"},
},
{
{1,"[meanwhile]"},
{2,"to protect the solar system"},
{2,"and earth, nasa decides to help"},
{2,"the aliens fight by sending"},
{2,"very advanced weapons."},
},
{
{2,"but alas, nasa accidentally sent"},
{2,"their top-secret experiment:"},
{2,"shark x... duh duh duhhhh"},
},
{
{1,"[nasa says]"},
{2,"oh no! shark x should never have"},
{2,"left the laboratory."},
},
{
{2,"no one knows how it will perform"},
{2,"but it is too late to abort"},
{2,"the mission."},
},
{
{2,"the threat is already at"},
{2,"our gates!"},
},
{
{2,"your mission, should you choose"},
{2,"to accept it:"},
},
{
{2,"remote control the shark and"},
{2,"make sure the threat does not"},
{2,"get past saturn."},
},
{
{2,"the future of humanity,"},
{2,"and all alien-kind,"},
{2,"rests between your fins."},
},
{
{2,"good luck, shark x."},
},
{
{1,"press ❎ to start"},
},
}
end
function intro_update(mode)
if btnp(5) then
if mode.index==#mode.messages then
set_mode("game")
else
sfx(5)
mode.index=#mode.messages
end
elseif btnp(2) and mode.index>1 then
sfx(5)
mode.index-=1
elseif btnp(3) and mode.index<#mode.messages then
sfx(5)
mode.index+=1
end
end
function intro_draw(mode)
--each text line is 6px
local line_height=6
--draw message backwards, starting at y
local function draw_back(message,y,palette)
local i
for i=#message,1,-1 do
print(message[i][2],0,y,mode.colors[palette][message[i][1]])
y-=line_height
if (y<0) break
end
return y-line_height
end
local index=mode.index
--count lines until index
local i
local lines=0
for i=1,index-1 do
lines+=#mode.messages[i]+1--extra for inter-message spacing
end
--find correct starting y
local y=line_height*min(20,lines-1+#mode.messages[index])
--start at message[index] and go backwards
y=draw_back(mode.messages[index],y,2)
for i=index-1,1,-1 do
y=draw_back(mode.messages[i],y,1)
if (y<0) break
end
end
-->8
--game loop
function game_init(mode)
music(2)
--gameplay view constraints
mode.min_y=9
mode.max_y=127
--start score counter at 10
mode.score=10
--store current time
mode.tick=0
mode.sec=0
--create initial objects
make_starfield()
make_enemy_generator()
mode.shark=make_shark(0,60)
end
function game_update(mode)
mode.tick+=1
if mode.tick>30 then
mode.tick-=30
mode.sec+=1
end
local shark=mode.shark
foreach_game_object_named("enemy",function(enemy)
if shark:overlaps(enemy) then
if shark.powerup=="fish" then
sfx(4)
mode.score+=10
else
sfx(3)
shark.damage_timer+=10
shark.health-=1
end
enemy.finished=true
end
if enemy.x+enemy.width<0 then
sfx(3)
shark.damage_timer+=10
mode.score-=10
enemy.finished=true
end
end)
if shark.health<0 or mode.score<0 then
sfx(2)
new_mode=set_mode("gameover")
new_mode.sec=mode.sec
new_mode.score=mode.score+ternary(mode.score<0,10,0)
end
end
function game_draw(mode)
local shark=mode.shark
--top bar, dark blue
rectfill(0,0,128,6,1)
--shark lives
spr(41,0,-1)
print(shark.health,9,1,7)
--score
local score=mode.score.."PT"
print(score,127-4*#score,1,7)
--powerup
if shark.powerup_timer>0 then
local p=shark.powerup
if p=="clock" then
spr(17,15,1)
elseif p=="fish" then
spr(18,15,1)
elseif p=="jetpack" then
spr(19,15,1)
end
line(0,7,128*(shark.powerup_timer/shark.powerup_duration),7,14)
end
end
-->8
--gameover loop
function gameover_init(mode)
music(1)
end
function gameover_update(mode)
if btnp(4) or btnp(5) then
set_mode("menu")
end
end
function gameover_draw(mode)
local text="game over"
print(text,hcenter(text),30,10)
text="you scored "..ternary(mode.score!=nil,max(0,mode.score),0).."PT"
print(text,hcenter(text),50,6)
text="and defended the"
print(text,hcenter(text),70,6)
text="galaxy for "..(mode.sec or 0).." sec"
print(text,hcenter(text),80,6)
end
-->8
--makers
function noop()
end
function make_game_object(name,x,y,z,props)
local obj={
name=name,
x=x,
y=y,
visible=true,
update=noop,
draw=noop,
draw_bounding_box=function(self,color)
rect(self.x,self.y,self.x+self.width,self.y+self.height,color)
end,
center=function(self)
return self.x+self.width/2,self.y+self.height/2
end,
overlaps=function(self,other)
return bounding_boxes_overlapping(self,other)
end
}
--add additional properties
local key,value
for key,value in pairs(props) do
obj[key]=value
end
--add it to layer `z` in game objects
assert(mode.game_objects[z]!=nil,"update game_layers to use z="..z)
add(mode.game_objects[z],obj)
--return the game object
return obj
end
function make_menu_shark(x,y)
return make_game_object("small_shark",x,y,0,{
width=16,
height=8,
frame=0,
update=function(self)
self.frame=(self.frame+0.5)%8
end,
draw=function(self)
spr(32+2*flr(self.frame),self.x,self.y,2,1)
end,
})
end
function make_shark(x,y)
return make_game_object("shark",x,y,0,{
width=16,
height=8,
health=3,
frame=0,
chomping=0,
damage_timer=0,
powerup_timer=0,
mouth_position=function(self)
if self.powerup=="fish" then
return self.x+30,self.y+9
else
return self.x+14,self.y+5
end
end,
update=function(self)
if self.powerup=="fish" then
self.width=32
self.height=16
else
self.width=16
self.height=8
--shoot on ❎
if btn(5) then
if self.last_laser==nil then
sfx(1)
local mx,my=self:mouth_position()
self.last_laser=make_laser(mx,my)
end
else
self.last_laser=nil
end
end
local speed=ternary(self.powerup=="jetpack",2,1)
if (btn(2) and self.y>mode.min_y) self.y-=speed
if (btn(3) and self.y+self.height<mode.max_y) self.y+=speed
self.frame=(self.frame+0.5)%8
if self.damage_timer>0 then
self.damage_timer-=0.25
self.visible=flr(self.damage_timer)%2==0
end
if self.powerup_timer>0 then
self.powerup_timer-=1
else
self.powerup=nil
end
end,
draw=function(self)
if self.powerup=="fish" then
local s=48+4*flr(self.frame)
if (s>=64) s+=16
spr(s,self.x,self.y,4,2)
else
spr(32+2*flr(self.frame),self.x,self.y,2,1)
end
end,
})
end
function make_laser(x,y)
return make_game_object("laser",x,y,1,{
width=3,
height=1,
update=function(self)
self.x+=1
if (self.x>128) self.finished=true
end,
draw=function(self)
pset(self.x,self.y,4)
pset(self.x+1,self.y,9)
pset(self.x+2,self.y,10)
end
})
end
function make_starfield()
local colors={1,2,5,6,7}
local warp_factor=3
local i,j
local stars={}
for i=1,#colors do
for j=1,10 do
add(stars,{
x=rnd(128),
y=rnd(128),
z=i,
c=colors[i]
})
end
end
return make_game_object("starfield",0,0,-1,{
width=128,
height=128,
stars=stars,
update=function(self)
local s
for s in all(self.stars) do
s.x-=s.z*warp_factor/10
if s.x<0 then
s.x=128
s.y=rnd(128)
end
end
end,
draw=function(self)
local s
for s in all(self.stars) do
pset(s.x,s.y,s.c)
end
end
})
end
function make_enemy(x,y)
make_game_object("enemy",x,y,0,{
width=8,
height=8,
damage=0,
max_damage=5,
fire={},
update=function(self)
--add "flame"
add(self.fire,{x=self.x+7,y=self.y+4})
local i
for i=1,#self.fire do
--spray
local fire=self.fire[i]
fire.x+=rnd(2)-1
fire.y+=rnd(2)-1
end
--prune
if #self.fire>10 then
del(self.fire,self.fire[1])
end
--move to the left
local speed=ternary(mode.shark.powerup=="clock",0.1,0.5)
self.x-=speed
foreach_game_object_named("laser",function(obj)
if self:overlaps(obj) then
self.damage+=1
obj.finished=true
end
end)
if self.damage>=self.max_damage then
self.finished=true
mode.score+=1
if mode.shark.powerup==nil and rndb(1,3)==1 then
make_powerup_random(self.x,self.y)
end
end
end,
draw=function(self)
local colors,i={10,9,8,2}
for i=1,#self.fire do
local fire=self.fire[i]
local c=colors[flr(4*(1-i/#self.fire))+1]
pset(fire.x,fire.y,c)
end
spr(0,self.x,self.y)
end
})
end
function make_enemy_generator()
return make_game_object("enemy_generator",0,0,-1,{
visible=false,
last_spawn=0,
update=function(self)
local now=mode.sec
local spawn_interval=4-min(3,now/60)
local duration=now-self.last_spawn
if duration>spawn_interval then
make_enemy(128,rndb(mode.min_y,mode.max_y-11))
self.last_spawn=now
end
end
})
end
function make_powerup_random(x,y)
local makers={
make_powerup_jetpack,
make_powerup_fish,
make_powerup_clock,
}
return makers[rndb(1,#makers)](x,y)
end
function make_powerup(type,x,y,w,h,sprite,duration)
return make_game_object("powerup",x,y,0,{
width=w,
height=h,
type=type,
duration=duration,
update=function(self)
self.x-=1
if self.x+self.width<0 then
self.finished=true
elseif self:overlaps(mode.shark) then
mode.shark.powerup=type
mode.shark.powerup_timer=30*duration
mode.shark.powerup_duration=30*duration
foreach_game_object_named("powerup",function(obj)
obj.finished=true
end)
end
end,
draw=function(self)
spr(sprite,self.x,self.y)
end
})
end
function make_powerup_jetpack(x,y)
return make_powerup("jetpack",x,y,8,8,3,5)
end
function make_powerup_fish(x,y)
return make_powerup("fish",x,y,7,7,2,5)
end
function make_powerup_clock(x,y)
return make_powerup("clock",x,y,8,8,1,5)
end
-->8
--helpers
--hit detection helper functions
function rects_overlapping(left1,top1,right1,bottom1,left2,top2,right2,bottom2)
return right1>left2 and right2>left1 and bottom1>top2 and bottom2>top1
end
function bounding_boxes_overlapping(obj1,obj2)
return rects_overlapping(obj1.x,obj1.y,obj1.x+obj1.width,obj1.y+obj1.height,obj2.x,obj2.y,obj2.x+obj2.width,obj2.y+obj2.height)
end
function foreach_game_object(callback)
local layer,obj
for layer in all(game_layers) do
local list=mode.game_objects[layer]
for obj in all(list) do
callback(obj,layer,list)
end
end
end
function foreach_game_object_named(name,callback)
foreach_game_object(function(obj,layer,list)
if (obj.name==name) callback(obj,layer,list)
end)
end
function rndb(low,high)
return flr(rnd(high-low+1)+low)
end
function ternary(condition,if_true,if_false)
return condition and if_true or if_false
end
function filter_out_finished()
foreach_game_object(function(obj,layer,list)
if (obj.finished) del(list,obj)
end)
end
function hcenter(str)
local specials={"⬆️","⬇️","➡️","⬅️","❎","🅾️"}
local result=64-#str*2
local i
for i=1,#str do
local substr=sub(str,i,1)
local special
for special in all(specials) do
if substr==special then
result-=2
break
end
end
end
return result
end
function outline(txt,x,y,col1,col2)
local i,j
for i=-1,1 do
for j=-1,1 do
print(txt,x+j,y+i,col2)
end
end
print(txt,x,y,col1)
end
__gfx__
00cccc0007d7700000009590000880000800bbb00000000aaaaaaaaaaaaaa0000aaaa000aaaa0000aaaaa0000aaa0000aaaa0000aaaaaaa0000aaaaaaaaaa000
0c7cccc077d777000007999000778000878ccbbc000000aaaaaaaaaaaaaaa0000aaaa00aaaaa0000aaaaaa00aaaaa00aaaaa0000aaaaaaa0000aaaaaaaaaaa00
0cccccc077d7d7000099799007770000777ccbcc000000aaaaaaaaaaaaaaa0000aaaa0aaaaa00000aaaaaa00aaaaa00aaaa00000aaaaaaaa000aaaaaaaaaaaa0
1cccccc177dd77000079970067700088777bccbb000000aaaaaaaaaaaaaaa0000aaaaaaaaa000000aaaaaaa0aaaaaa0aaaa0000aaaa0aaaa000aaaa0000aaaa0
611111167777770099979000060007787770ccb0000000aaaaa000000aaaa0000aaaaaaaa0000000000aaaaaaaaaaa0aaaa0000aaaa0aaaa000aaaa0000aaaa0
0666666007777000099000000000777057500000000000aaaaaa00000aaaaaaaaaaaaaaa00000000000aaaaaaaaaaaaaaa00000aaaa0aaaaa00aaaaaaaaaaaa0
00cccc00000000000090000000067700555000000000000aaaaaa0000aaaaaaaaaaaaaa000000000000aaaaaaaaaaaaaaa0000aaaa000aaaa00aaaaaaaaaaa00
000000000000000000000000000060000000000000000000aaaaaa000aaaaaaaaaaaaaaa000000000000aaaaaaaaaaaaaa0000aaaa000aaaa00aaaaaaaa00000
0000000007d70000000990000008800000000000000000000aaaaaa00aaaaaaaaaaaaaaaa00000000000aaaaaaaaaaaaaa0000aaaaaaaaaaaa0aaaaaaaaa0000
0099990077d770000099900000778000000000000aaaaaaaaaaaaaa00aaaa0000aaaaaaaaaaaaaaa0000aaaaaa0aaaaaa0000aaaaaaaaaaaaa0aaaa0aaaaaaaa
0999999077dd70000799000007770000000000000aaaaaaaaaaaaaa00aaaa0000aaaa0aaaaaaaaaa00000aaaaa00aaaaa0000aaaaaaaaaaaaa0aaaa00aaaaaaa
a999999a777770009970000067700000000000000aaaaaaaaaaaaa000aaaa0000aaaa00aaaaaaaaa00000aaaaa00aaaaa000aaaaa00000aaaaaaaaa000aaaaaa
aaaaaaaa077700000900000006000000000000000aaaaaaaaaaaa0000aaaa0000aaaa000aaaaaaaa00000aaaaa00aaaaa000aaaaa00000aaaaaaaaa0000aaaaa
09999990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00999900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000006000000000000000600000000000000060000000000000000600000000660000060000000060000006000000000000000600000000000000600000000
06000006600000000600000660000000060000066000000006000000660000000066000066000000066000006600000006000000660000000060000660000000
00606066666000000660606666600000066060666660000000606006666600000066060666660000006060066666000006606006666600000060606666600000
00666666666660000066666666666000006666666666600000666666666666000066666666666600006666666666660000666666666666000066666666666000
00607776666166000660777666616600006077766661660000607777666616600066077766661660006007776666166000607776666616600060777666616600
00000076677770000000007667777000060000066777700006600007667777000060000076677700006000006677770000600007667777000060000667777000
00000006000000000000000600000000000000060000000000000000600000000000000006000000000000006000000000000000600000000000000600000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000006600000000000000000000000000000066000000000000000000000000000000066000000000000000000000000000000066000000000000000
00000000000006660000000000000000000000000000066600000000000000000000000000000066600000000000000006600000000000066600000000006600
00060000000006666000000000000000006600000000066660000000000000000660000000000066660000000000000006660000000000066660000000066600
00066000000006666600000000000000006660060000066666000000000000000666000600000066666000000000666000666000600000066666000000666f00
0006600600006666666666660000000000666006000066666666666600000000066660066000066666666666666666f00006600066000066666666666616f700
000066066666666666666666666000000006660666666666666666666666660000666006666666666666666666166ff0000666066666666666666666666f7000
00006666666666666666666666666000000666666666666666666666616666000006666666666666666666666666f70000066666666666666666666666f70000
000666666666666666666666166660000006666666666666666666666fffff00000666666666666666666666666f700000066666666666666666666666f00000
00066077777776666666677777777000006660777777766666666677f707070000066007777777666666666777f7000000066600777777766666666677f00000
00060000077777666677777fffff0000006600000777766667777777f0707000006660000077776666777777777f070000066600000777776666777777f70000
000000000000776667777777700000000000000000007666777777777ffff0000066000000000766677777777777ff00006660000000007766677777777f7000
0000000000000066000000000000000000000000000006600000000000000000000000000000006600000000000000000066000000000000660000000007f000
00000000000000600000000000000000000000000000060000000000000000000000000000000060000000000000000000000000000000006000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000066000000000000000000000000000000660000000000000000000000000000000000000000000000000000000000000000000000000000000
00666000000000066600000000066000006600000000000666000000006000000000000000000006600000000000000000000000000000660000000000000000
00666600000000066660000000666f00006600000000000666600000066f70000066000000000006660000000060000000006000000000666000000000000000
00066660060000066666000000666f00006660000000000666660000066f0000006600000000000666600000066f700000066000000000666600000000000000
00006660066000066666600006666f00006660006000000666666000666f7000006600060000000666660000666f000000066006000000666660000000000000
00006666066600666666666666661f00000660006600006666666666661f0000006660066000006666666666666f700000066006000006666666666600000000
0000666666666666666666666666f700000666066666666666666666666f700000066006666666666666666661f0000000066606666666666666666666000000
000066666666666666666666666f700000066666666666666666666666f0000000066666666666666666666666f7000000066666666666666666666666660000
000066666666666666666666666f000000066666666666666666666666f700000006666666666666666666666f00000000066666666666666666666666666000
000066600777777766666666677f000000066600077777766666666667f000000006660077777766666666667f70000000066007777776666666666666616660
000066600000777776666777777f700000066600000077776666677777f7000000066000000777766666777777f00000000660000077776666677777fffffff0
0006660000000007766677777777f70000066600000000076666777777f0000000066000000000766667777777f7000000006000000007666677777f77777700
00066000000000000666000000007f0000066000000000006660000007f70000000660000000000666000000007f000000000000000000666000000000000000
0000000000000000066000000000000000066000000000006600000007f000000000000000000006600000000000000000000000000000660000000000000000
00000000000000000600000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000
__label__
00000000000000000000000000000000000000000000000000000200000000500000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000
00000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000070
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000aaaaaaaaaaaaa0000aaaa0000aaaaaaa0000aaaaaaaaaa000aaaa000aaaa00000000000000000000000000000000
00000000000000000000000000000000000aaaaaaaaaaaaaa0000aaaa0000aaaaaaa0000aaaaaaaaaaa00aaaa00aaaaa00000000000000000000000000070000
00000000000000000000000000000000000aaaaaaaaaaaaaa0000aaaa0000aaaaaaaa000aaaaaaaaaaaa0aaaa0aaaaa000000000000000000000000000000000
00000000000000000000000000000000000aaaaaaaaaaaaaa0000aaaa000aaaa0aaaa000aaaa0000aaaa0aaaaaaaaa0000000000000000000000000000000000
00000000000000000000000000000000000aaaaa00000aaaa0000aaaa000aaaa0aaaa000aaaa0000aaaa0aaaaaaaa00000000000000000000000000000000000
00000000000000000000000000000000000aaaaaa0000aaaaaaaaaaaa000aaaa0aaaaa00aaaaaaaaaaaa0aaaaaaa000000000000000000000000000000000000
000000000000000000000000000000000000aaaaaa000aaaaaaaaaaaa00aaaa000aaaa00aaaaaaaaaaa00aaaaaa0000000000000000000000000000000000000
0000000000000000000000000000000000000aaaaaa00aaaaaaaaaaaa00aaaa000aaaa00aaaaaaaa00000aaaaaaa000000000000000000000000000000000000
00000000000000000000000000000000000000aaaaaa0aaaaaaaaaaaa00aaaaaaaaaaaa0aaaaaaaaa0000aaaaaaaa00000000000000000000000000000000000
000000000000000000000000000000aaaaaaaaaaaaaa0aaaa0000aaaa0aaaaaaaaaaaaa0aaaa0aaaaaaaaaaaaaaaaaaaaaaa0000000000000000000000000000
000000000000000000000000000000aaaaaaaaaaaaaa0aaaa0000aaaa0aaaaaaaaaaaaa0aaaa00aaaaaaaaaaa0aaaaaaaaaa0000000000000000000000000000
000000000000000000000000000000aaaaaaaaaaaaa00aaaa0000aaaaaaaaa00000aaaaaaaaa000aaaaaaaaaa00aaaaaaaaa0000000000000000000000000000
000000000000000000000000000000aaaaaaaaaaaa000aaaa0000aaaaaaaaa00000aaaaaaaaa0000aaaaaaaaa000aaaaaaaa0000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000600000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000aaaaa0000aaa0000aaaa00aaaaaaa0000aaaaaaaaaa0000aaaaaaaaaa00000000000000000000000000000000000
000000000000000000000000000000000000aaaaaa00aaaaa00aaaaa00aaaaaaa0000aaaaaaaaaaa00aaaaaaaaaaa00000000000000000000000000000000000
000000000000000000000000000000000000aaaaaa00aaaaa00aaaa000aaaaaaaa000aaaaaaaaaaaa0aaaaaaaaaaa00000000000000000000000000000000000
000000000000020000000000000000000000aaaaaaa0aaaaaa0aaaa00aaaa0aaaa000aaaa0000aaaa0aaaaaaaaaaa00000000000000000000000000000000000
000000000000000000000000000000000000000aaaaaaaaaaa0aaaa00aaaa0aaaa000aaaa0000aaaa0aaaaa00000000000000000000000000000000000000000
000000000000000000000000000000000000000aaaaaaaaaaaaaaa000aaaa0aaaaa00aaaaaaaaaaaa0aaaaaa0000000000000000000000000000000000000000
000000000000000000000000000000000000000aaaaaaaaaaaaaaa00aaaa000aaaa00aaaaaaaaaaa000aaaaaa000000000000000000000000000000000000000
0000000000000000000000000000000000600000aaaaaaaaaaaaaa00aaaa000aaaa00aaaaaaaa0000000aaaaaa00000000000000000000000000000000000000
0000000000000000000000000000000000000000aaaaaaaaaaaaaa00aaaaaaaaaaaa0aaaaaaaaa0000000aaaaaa0000000000000000000000000000000000000
0000000000000000000000000000007000000000aaaaaa0aaaaaa00aaaaaaaaaaaaa0aaaa0aaaaaaaaaaaaaaaaa0000000000000000000000000000000000000
00000000000000000000000000000000000000000aaaaa00aaaaa00aaaaaaaaaaaaa0aaaa00aaaaaaaaaaaaaaaa0000000000000000000000000000000000000
00000000000000000000000000000000000000000aaaaa00aaaaa0aaaaa00000aaaaaaaaa000aaaaaaaaaaaaaa00000000000000000000000000000000000000
00000000000000000000000000000000000000000aaaaa00aaaaa0aaaaa00000aaaaaaaaa0000aaaaaaaaaaaa000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000aaa0a0a000000a00aaa0aaa00000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000a0a0a0a00000a0a0a0a000a00000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000aa00aaa00000a0a0aaa0aaa00000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000a0a000a00000a000a0a0a0000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000aaa0aaa000000aa0a0a0aaa00000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000
00000000000000000000000000000000000000000000070000000000000000000000000050000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000006600000600000000000555555555555555555550000555555555555555500000000000060000000000000000000000000000000
00000000000000000000000000660000660002000005577577757775777577750005577577757775777500000000000000000000000000000000000000000000
00000000000000000000000000660606666600000005755557557575757557550005755575757775755500000000000000000000000000000000000000000001
00000000000000000000000000666666666666000005777557557775775557500005755577757575775000000000000000000000000000000000000000000000
00000000000000000000000000660777666616600005557557557575757557500005757575757575755500000000000000000000000000000000000000000000
00000000000000000000000000600000766777000005775557557575757557500005777575757575777500000000000000000000000000000000000000000000
00000000000000000000000000000000060000000005555055555555555555500005555555555555555500000000000000000000000000000000000000000000
00600000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000060000000000000000000000000000555555555555500055555555500055555550555555555000000000000000000000000000000000000000000
00000000000000000000000000000000000000000575755775757500057775577500057775750577757575000000000000000000000000000000000000000000
00000000000000000000000000000000000000000575757575757500055755757500057575750575757575000000000000000000000000000000000000000000
00000000000000000000000000000000000000000577757575757500005755757500057775750577757775000000000000000000000000000000000000000000
00000000000000000000000000000000000000000575757575777500005755757500057555755575755575000000200000000000000000000000000000000000
00000000000000000000000000000000000000000575757755777500005755775500057505777575757775000000000000000000000000000000000000000000
00000000000000000000000000000070000000000555555555555500005555555000055505555555555555000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000050000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000
00000000000000000000001000000000000000000000000700000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000700000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
__sfx__
010200000c6100c6100c6100c6100c6100c6100c6100c610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
010100001f050180502b00019000120000b0000800005000040000300002000020000100005000040000300002000010000100010000070001000010000110001300014000100000000000000000000000000000
00080000306202d6202a6202862024620206201c62017620136200f6200b6200862005620016000160005600036002960027600226001d6001b60010600006001560015600126000060015600156001560015600
00010000105501a550235502b5502f5502e5502b550255501e5501955014550115500f55000500005000050000500005000050000500005000050000500005000050000500005000050000500005000050000500
00100000105501a550235502b5502f5502e5502b550255501e5501955014550115500f55000500005000050000500005000050000500005000050000500005000050000500005000050000500005000050000500
010100000c630216000060000600006000060000600006000c630006000060000600006000060000600006000c630006000060000600006000060000600006000c63000600006000060000600006000060000600
011800000c1500e150101501315018150181501815018150001000010000100001000010000100001000010000100001000010000100001000010000100001000010000100001000010000100001000010000100
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
013c0008217221d722247221d722297221d722237221d722007020070200702007020070200702007020070200702007020070200702007020070200702007020070200702007020070200702007020070200702
01f0000c0554505545055450554505545045450554505545055450454505545055450050500505005050050500505005050050500505005050050500505005050050500505005050050500505005050050500505
01f00410055050550505505055050c5450b5450c5450c5450c5450b5450c5450c5450c5450c5450c5450c54500505005050050500505005050050500505005050050500505005050050500505005050050500505
013c0030150501505015050150551405010050100501005511050130501505015050150501505015050150550c050150501505018050170501405014050140551505017050180501805018050180501805018055
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0120001009120041200c1200412010120041200e1200412009120051200c120051200e120051200c1200b12000100001000010000100001000010000100001000010000100001000010000100001000010000100
011000200c043300000000000000246150000000000000000c043000000c04300000246150000000000000000c043300000000000000246150000000000000000c043300000c0430000024615000000000000000
01200000000001515500100151551c155001001c15500000001051a155000000000015155000001515500105000001a1550000018155000001a15515155000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0178000816750167551d7501b75014750147551d7501b750007000070000700007000070000700007000070000700007000070000700007000070000700007000070000700007000070000700007000070000000
01f0000808750087500d7500d75008750087500675006750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
__music__
00 0a0b0c0d
00 14154344
03 100f4344