Fixed bug where you can move your character under certain circumstances such as fallen on the floor.
I think this is because moving the analog stick changes the Player's speedX variable and Player:move() is executed every frame.
To prevent this, Player's sprite animation is checked (must be running or walking) before being allowed to move.
Also, stateCheck is probably a bad idea overall; the code for going back to idle after an action such as attack or defend should be done as a delayed timer function in each corresponding method.