- Code: Select all
switch(STATE)
{
case 0:
ChangeAnimation("Event Actor", "StillLeft", NO_CHANGE);
STATE=1;
break;
case 1:
ChangeAnimation("Event Actor", "MoveLeft", NO_CHANGE);
STATE=3;
break;
case 2:
ChangeAnimation("Event Actor". "StillLeft", NO_CHANGE);
STATE=1;
break;
case 3:
break;
case 4:
ChangeAnimation("Event Actor", "JumpLeft", NO_CHANGE);
STATE=5;
break;
case 5:
break;
case 6:
ChangeAnimation("Event Actor", "FallLeft", NO_CHANGE);
STATE=7;
break;
case 7:
break;
}
x-=2;