Got rid of the goto in kill_cur_item_script