This is perhaps a more general coding question, but I have started to learn about state machines and would like to set one up for my player character.
In my case, my player can ATTACK, which would be its own state. The player can also WALK_STAIRS, which would also be a state. But the player should also be able to attack while walking in the stairs. Should this be its own state (STAIRS_ATTACK?), or should either the ATTACK or WALK_STAIRS state handle this combo?