Changed a few lines in character blocking code.

I attempted several if-else-if conditions to make enemies who are pushed
back collide with impassable tiles or fall through passable ones. None
of the logic really worked, so I settled with original code with a
couple changes.