When moving the joystick diagonally, the priority direction is horizontal, so if you are moving vertically and move the joystick diagonally, the character will move horizontally, but vice versa it doesn't work. However, consider that the original arcade version uses a 4-way joystick and therefore the diagonal is not foreseen.