0 Members and 2 Guests are viewing this topic.
.0:Return->api9872->Zpi9340->YMakeVar(6,"UNOYEL->M2+FindVar("UNY->w+16->s+138->r+8->p+80->q+80->x+32->y+32->z+32->b+1->c+1->d+1->eLbl "F->FSetBuf('YSetBuf(^^oZClrDrawZClrDrawContrast(27Rect(24,0,25,46,3Rect('25,0,69,0,0Rect(6,24,10,81,3Rect('5,27,88,27Rect(15,33,22,64,3Rect(4,54,11,88,3Rect('5,63,91,63,0Rect(30,33,20,34,3Rect(23,33,22,48,3Rect('24,53,28,53Rect('66,53,70,53Rect('28,52,66,52Rect('11,23,17,23Rect('78,23,84,23Rect('17,22,24,22Rect('69,22,78,22Circle(29,13,3Circle(29,26,3Circle(29,41,3Circle(29,54,3Circle(29,67,3Circle(29,79,3Misc(1,Y,Z,768Fill(0Rect(31,35,19,33,0For(C,1,5C*26 +FindVar("UNY->BFor(A,1,72*C -1->KTile(2,B,A,K,2,13,ZDispGraphIf A!=7Tile(2,B,A,K,2,13,Zcall FEndEndSetFont 2SetBuf(ZText(56,10,"start / quit / statsSetBuf(YSetBuf(^^oZ0->K9->VReturn->RgetKey->Gcall Lbl "BRILLcall FIf G=15 or G=51Goto Lbl "QIf G=50 or G=49call Lbl "STATIf G=99Goto aIf G<52Goto RClrDrawZFill(0M[0,0,0,0,0,02->V0->W->I->J->K->U->O100->HContrast(30Horizontal 56,0Return->RgetKey->GIf OThenSetBuf('ZRect(0,0,35,15,0Text(0,0,"Done:Text('+6,0,IText(+6,0,"Fails:Text('+6,0,JText(+6,0,"ToDrop:Text('+6,0,HSetBuf('YEndK+1->KIf K=1 or K=5Tile(2,p,2,3,5,16,ZIf K=6 or K=10Tile(2,q,2,3,5,16,ZIf K=100->K If U=0 and randInt(0,2Then0->hrandInt(1,5If =1x->hIf =2y->hIf =3z->hIf =4Tile(2,w,40,11,,16If hThenTile(2,h,40,10,2,16M+5 [1EndEndDispGraphFor(C,1,VShiftBuf(1,2U+1->UVertical 95EndHorizontal 56,0Pxl-Off(randInt(56,65),randInt(94,97DispGraphIf U>=16ThenIf (MJ+1->JMisc(1,M+1,M,5M+5 [00->UEndIf G=9 and !WThenH-1->H1->W0->thetaTile(5,s,20,3EndIf WThenFor(C,1,V+1Rect(0,20,20,30,11Horizontal 20theta+1->thetaEndEndIf theta>=19ThenIf !(M+1J+1->JIf (M+1ThenI+1->IM+1 [0End0->W->thetaEndIf G=14ThenInv(O->OSetBuf('ZRect(0,0,35,28,0SetBuf('YEndIf !H and !W or G=15Goto Lbl "EGoto R.E0->SIf I>JThenI-2*J ->SEndcall Lbl "BUF1Text(12,17,"Well Done !Text(24,20,"Score: Text('^^oScall Lbl "BUF2100-H->Hb[H+(bc[I+(cd[J+(dIf S>(ee[Scall Lbl "STATGoto a.QClrDrawClrDrawZDispGraphDelVar "UNOYELClrHomeStop.FDispGraphFill(23,0,35,4,4,18End.STATcall Lbl "BUF1Text(12,17,"StatisticsText(36,12,"Total Drops:Text('^^oGetInc(bText(29,12,"Total okays:Text('^^oGetInc(bText(22,12,"Total fails:Text('^^oGetInc(bText(43,12,"High Score:Text('^^oGetInc(bcall Lbl "BUF299->GEnd.BRILLIf !KThenrandInt(3,88->ArandInt(0,15->BEndIf !K or K=7Tile(2,r,B,A,1,8,ZIf K=7~V->KK+1->KEnd.BUF1ClrDrawZFill(0For(90Pxl-Off(randInt(3,63),randInt(3,93EndSetBuf('ZRect(11,8,44,76,6Rect(10,7,44,76,6Rect('20,19,60,19End.BUF2SetBuf('Y0->K+1->VFor(C,1,10For(U,1,53Tile(2,s,U,Ccall Lbl "BRILLDispGraphIf getKey=15Then53->U10->CEndIf U!=53Tile(2,s,U,CU+3->UEndEndRepeat getKey=15call Lbl "BRILLDispGraphEndEnd
.0:Return->api9872->Zpi9340->YMakeVar(6,"UNOYEL->M2+FindVar("UNY->w+16->s+138->r+8->p+80->q+80->x+32->y+32->z+32->b+1->c+1->d+1->eLbl "F->FSetBuf('YSetBuf(^^oZClrDrawZClrDrawContrast(27Rect(24,0,25,46,3Rect('25,0,69,0,0Rect(6,24,10,81,3Rect('5,27,88,27Rect(15,33,22,64,3Rect(4,54,11,88,3Rect('5,63,91,63,0Rect(30,33,20,34,3Rect(23,33,22,48,3Rect('24,53,28,53Rect('66,53,70,53Rect('28,52,66,52Rect('11,23,17,23Rect('78,23,84,23Rect('17,22,24,22Rect('69,22,78,22Circle(29,13,3Circle(29,26,3Circle(29,41,3Circle(29,54,3Circle(29,67,3Circle(29,79,3Misc(1,Y,Z,768Fill(0Rect(31,35,19,33,0For(C,1,5C*26 +FindVar("UNY->BFor(A,1,72*C -1->KTile(2,B,A,K,2,13,ZDispGraphIf A!=7Tile(2,B,A,K,2,13,Zcall FEndEndSetFont 2SetBuf(ZText(56,10,"start / quit / statsSetBuf(YSetBuf(^^oZ0->K9->VReturn->RgetKey->Gcall Lbl "BRILLcall FIf G=15 or G=51Goto Lbl "QIf G=50 or G=49call Lbl "STATIf G=99Goto aIf G<52Goto RClrDrawZFill(0M[0,0,0,0,0,02->V0->W->I->J->K->U~1->O100->HContrast(30Horizontal 56,0Return->RgetKey->GIf OThenSetBuf('ZRect(0,0,35,15,0Text(0,0,"Done:Text('+6,0,IText(+6,0,"Fails:Text('+6,0,JText(+6,0,"ToDrop:Text('+6,0,HSetBuf('YEndK+1->KIf K=1 or K=5Tile(2,p,2,3,5,16,ZIf K=6 and G=14ThenInv(O->OClrDrawZEndIf K=6 or K=10Tile(2,q,2,3,5,16,ZIf K=100->K If U=0 and randInt(0,2Then0->hrandInt(1,5If =1x->hIf =2y->hIf =3z->hIf =4Tile(2,w,40,11,,16If hThenTile(2,h,40,10,2,16M+5 [1EndEndDispGraphFor(C,1,VShiftBuf(1,2U+1->UVertical 95EndHorizontal 56,0Pxl-Off(randInt(56,65),randInt(94,97DispGraphIf U>=16ThenIf (MJ+1->JMisc(1,M+1,M,5M+5 [00->UEndIf G=9 and !WThenH-1->H1->W0->thetaTile(5,s,20,3EndIf WThenFor(C,1,V+1Rect(0,20,20,30,11Horizontal 20theta+1->thetaEndEndIf theta>=19ThenIf !(M+1J+1->JIf (M+1ThenI+1->IM+1 [0End0->W->thetaEndIf !H and !W or G=15Goto Lbl "EGoto R.E0->SIf I>JThenI-2*J ->SEndcall Lbl "BUF1Text(12,17,"Well Done !Text(24,20,"Score: Text('^^oScall Lbl "BUF2100-H->Hb[H+(bc[I+(cd[J+(dIf S>(ee[Scall Lbl "STATGoto a.QClrDrawClrDrawZDispGraphDelVar "UNOYELClrHomeStop.FDispGraphFill(23,0,35,4,4,18End.STATcall Lbl "BUF1Text(12,17,"StatisticsText(36,12,"Total Drops:Text('^^oGetInc(bText(29,12,"Total okays:Text('^^oGetInc(bText(22,12,"Total fails:Text('^^oGetInc(bText(43,12,"High Score:Text('^^oGetInc(bcall Lbl "BUF299->GEnd.BRILLIf !KThenrandInt(3,88->ArandInt(0,15->BEndIf !K or K=7Tile(2,r,B,A,1,8,ZIf K=7~V->KK+1->KEnd.BUF1ClrDrawZFill(0For(90Pxl-Off(randInt(3,63),randInt(3,93EndSetBuf('ZRect(11,8,44,76,6Rect(10,7,44,76,6Rect('20,19,60,19End.BUF2SetBuf('Y0->K+1->VFor(C,1,10For(U,1,53Tile(2,s,U,Ccall Lbl "BRILLDispGraphIf getKey=15Then53->U10->CEndIf U!=53Tile(2,s,U,CU+3->UEndEndRepeat getKey=15call Lbl "BRILLDispGraphEndEnd
XOR 3C4281818181423CRepeat <<main loop>>XOR 3C4299A5A599423C ;toggle between the two spritesEnd