0 Members and 1 Guest are viewing this topic.

ClrHome7->X:Ans->S //X is actually the Y coord., and S is the initial Y coord. that you jumped from1->Y:Ans->B //Y is the X coord. ,and B is either positive or negative one, depending on if the gravity is reversedDelvar ARepeat 0 //A controls whether you move up, down, or not at allgetKey->KIf Ans or A!=0Text(-1,7X,6(Y-1),"_ //one spaceY+(K=26)-(K=24Ans-15((Ans=16)-not(Ans->YX-BA->XA-2(X=(S-B3->AIf X=SDelVar AIf not(AX->SB-2(K=31 and B=1)+2(K=31 and B=-1->CIf B!=C:Then-1->AC->BIf B=-11->SIf B=17->SEndText(-1,7X,6(Y-1),"XA+(K=21 and X=S->Arand(8End

Well I haven't gone over all your code but that first If can be just If Ans I believe. Also, is that ClrHome supposed to be a ClrDraw?

If K=21:1-2(F=1→F

A-2(X=(S-B3->A

If X=(S-B3-1->A