Load Iff "master:csystem/definer.iff",1 : Double Buffer : Erase 1 : If DG=0 Then P=1
Load "Master:csystem/def.abk",1 : Load SS$(1),1 : Load SS$(2),1 : F$="" : Bob 4,210,25,6 : Bob 5,210,100,8
Reserve Zone(12)
For TU=1 To 11
If TU>2 Then Set Zone TU-1,30,(TU*9)+10 To 120,(TU*9)+19
Ink 15 : Gr Writing 0 : Text 30,(TU*9)+19,Left$(P1$(TU,0),15) : Gr Writing 1
Next TU
TU=1
Ink 29 : Gr Writing 0 : Text 127,(TU*9)+19,Right$(P1$(TU,1),1)
For TU=2 To 11
Ink 29 : Gr Writing 0 : Text 127,(TU*9)+19,Right$(P1$(TU,3),1)
Next TU
Set Zone 12,57,122 To 79,128 : Paste Bob 11,136,4 : Ink 61 : Bar 10,10 To 23,120
Bob 20,80,217,5 : Bob 21,87,221,5 : Bob 22,94,224,5 : Bob 23,101,227,5
Bob 24,86,213,5 : Bob 25,92,210,5 : Bob 26,98,207,5 : Bob 27,110,201,5
Bob 28,86,190,5 : Bob 29,98,184,5 : Bob 30,110,178,5 : Bob 31,117,170,5
Bob 32,95,173,5 : Bob 33,75,150,5 : Bob 34,60,170,5 : Bob 35,50,155,5
Bob 36,50,185,5 : Bob 37,30,194,5 : Bob 38,60,215,5 : Bob 39,45,225,5
BC
If P=1 Then JS=1
If P=2 Then JS=0
Repeat
Repeat
Bob 3,X,Y,3
If Jup(JS)=-1 Then Y=Y-1 : If Y<0 Then Y=0
If Jdown(JS)=-1 Then Y=Y+1 : If Y>256 Then Y=256
If Jleft(JS)=-1 Then X=X-1 : If X<0 Then X=0
If Jright(JS)=-1 Then X=X+1 : If X>320 Then X=320
Until Fire(JS)=-1
Z=Zone(X Bob(3),Y Bob(3))
If Z=12 Then SND3 : SFP : VD=2
If Z>0 and Z<12 Then SND3 : BB=0 : NFN=Z : FBOB : OJ=BB
If Bob Col(3)=-1
For TU=20 To 39
If Col(TU)=-1
For T=2 To 10
If B(T,0)=S(TU-19,0) and B(T,1)=S(TU-19,1) and T<>NFN
B(T,0)=B(NFN,0)
B(T,1)=B(NFN,1)
End If
Next T
B(NFN,0)=S(TU-19,0) : B(NFN,1)=S(TU-19,1) : Paste Bob 11,136,4 : Ink 61 : Bar 10,10 To 23,120 : Ink 30 : Polyline 15,(NFN*9)+24 To 15,140 To X Bob(TU),Y Bob(TU) : Bob TU,,,3
If OJ<>0
Bob OJ,,,5
End If
OJ=TU
End If
Next TU
End If
Until VD=2 : VD=0
End Proc
Procedure FBOB
For TU=1 To 20
If B(NFN,0)=S(TU,0) and B(NFN,1)=S(TU,1) Then BB=TU+19
Next TU
Paste Bob 11,136,4 : Ink 61 : Bar 10,10 To 23,136
If BB>19 and BB<40 Then Ink 30 : Polyline 15,(NFN*9)+24 To 15,140 To X Bob(BB),Y Bob(BB)
End Proc
Procedure WSP
For TU=2 To 10
If B(TU,0)<80 and B(TU,1)<80 Then BN(TU+8)=120
If B(TU,0)>79 and B(TU,0)<161 and B(TU,1)<80 Then BN(TU+8)=185
If B(TU,0)>160 and B(TU,0)<240 and B(TU,1)<80 Then BN(TU+8)=186
If B(TU,0)>239 and B(TU,1)<80 Then BN(TU+8)=131
If B(TU,0)<80 and B(TU,1)>79 and B(TU,1)<155 Then BN(TU+8)=102
If B(TU,0)>79 and B(TU,0)<161 and B(TU,1)>79 and B(TU,1)<155 Then BN(TU+8)=167
If B(TU,0)>160 and B(TU,0)<240 and B(TU,1)>79 and B(TU,1)<155 Then BN(TU+8)=168
If B(TU,0)>239 and B(TU,1)>79 and B(TU,1)<154 Then BN(TU+8)=113
If B(TU,0)<80 and B(TU,1)>154 Then BN(TU+8)=84
If B(TU,0)>79 and B(TU,1)>154 Then BN(TU+8)=139
If B(TU,0)>160 and B(TU,1)>154 Then BN(TU+8)=144
If B(TU,0)>239 and B(TU,1)>154 Then BN(TU+8)=95
Next TU : BN(9)=144
End Proc
Procedure SND2
Sam Bank 8 : Wait Vbl : Volume %1000,V1 : Volume %100,V2 : Volume %10,V3 : Volume %1,V4 : Sample N1 To %1000 : Sample N2 To %100 : Sample N3 To %10 : Sample N4 To %1 : Play 29,SL : Sam Bank 5
End Proc
Procedure BC
For NFN=2 To 10
For TU=1 To 20
If B(NFN,0)=S(TU,0) and B(NFN,1)=S(TU,1) Then BB=TU+19
Next TU
Paste Bob 11,136,4 : Ink 61 : Bar 10,10 To 23,136
If BB>19 and BB<40 Then Ink 30 : SND3 : Polyline 15,(NFN*9)+24 To 15,140 To X Bob(BB),Y Bob(BB)
Bob BB,,,3 : Wait Vbl
Next NFN
OJ=BB : NFN=10
End Proc
Procedure SND3
Music Off : Wait 5 : Play 40,1 : Wait 5 : Music Off
End Proc
Procedure L2
DUD=Free
If PLYER+1=1 Then P=1
If PLYER+1=2 Then P=2
For DU=1 To 18 : For TU=0 To 3 : P1$(DU,TU)="" : Next TU : Next DU