fix item pickup check bug; fix door usable bug; add switch block function