Simplified internal structure of move_monster().