Fixed ladder error messages upon illegal movement.

Misplaced "else," moved after "end."