State 2 - Running
If a player presses left or right two times quickly, the character will run. State 2 is used for the running frames, and running_speed and running_speedz sets the speed. If you press J while running, your character go to frame 213 (dash), while pressing A and he'll go to frame 85 (run_attack). Pressing D will cause the character to jump to frame 102 (rowing).
Technical note
The running state, this also has a hidden running timer which maximum number equals to 3. It is very similar to walking counter except with 4 transitions:
C=0 -> Frame 9
C=1 -> Frame 10
C=2 -> Frame 11
C=3 -> Frame 10
If hit_d parameter is 0, character will go to frame 102 (rolling) when D is pressed.
If hit_j parameter is 0, character will go to frame 213 (forward dash) when J is pressed.
If hit_a parameter is 0, character will check if he holds a weapon when A is pressed.
If he holds weapon he goes to frame 35 (run_weapon_attack)
If he doesn't hold, he goes to frame 85 (run_attack)
If an opposite direction key against his running direction is pressed, he will go to frame 218 (stop_running)
hit_XX are disabled if a character is holding a heavy weapon via itr kind 2, state: 2 itself doesn't disable hit_XX. For details go the section for itr kind 2.