Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. switch(stan1) {
  2. case 1: Z1=1;
  3. if(!tim1){ tim1=10; stan1=2; }
  4. else if(X1||!tim2) stan1=3; break;
  5. case 2: Z1=0;
  6. if(!tim2) stan1=3; break;
  7. else if(!tim1){ tim1=20; stan1=1; } break;
  8. case 3: Z1=0;
  9. if(!X2) stan1=1; break;
  10. }
  11. if(tim1) --tim1;
  12. switch(stan2) {
  13. case 1: Z2=1;
  14. if(X4){ tim3=200; stan2=2; } break;
  15. case 2: Z2=1;
  16. if(X3||!tim3) stan2=3;
  17. else if(!X4) stan2=1; break;
  18. case 3: Z2=0;
  19. if(!X4) stan2=1; break;
  20. }
  21. if(tim2) --tim2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement