b=1 a=13 c=3 d=4 e=13 f=10 if :wc and :ws==6 then goto2 else goto1 end if:wc==0 or :ws!=6 thengoto1else :rb1=a :rb3=a :rb5=a :rb7=a end a+=(b==1)*c a-=(b==0)*d if a>e then b=0 end if a