For the attack you must not move + L, the direction the elf looks is the impulse of the attack that he will have, up down right left, if you get stuck in the wall use the attack to get out