Moving characters on the stairs - PROBLEM

Ok:

I can not go up the stairs:



I can go up the stairs: