Adjusted the do_writhe function

the last_type and _last_item variable was not checking for contort. So
it sends writhe instead.