Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch(stan1) {
- case 1: Z1=1;
- if(!tim1){ tim1=10; stan1=2; }
- else if(X1||!tim2) stan1=3; break;
- case 2: Z1=0;
- if(!tim2) stan1=3; break;
- else if(!tim1){ tim1=20; stan1=1; } break;
- case 3: Z1=0;
- if(!X2) stan1=1; break;
- }
- if(tim1) --tim1;
- switch(stan2) {
- case 1: Z2=1;
- if(X4){ tim3=200; stan2=2; } break;
- case 2: Z2=1;
- if(X3||!tim3) stan2=3;
- else if(!X4) stan2=1; break;
- case 3: Z2=0;
- if(!X4) stan2=1; break;
- }
- if(tim2) --tim2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement