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