Having the ability to think clearly and act appropriately
Drunk; intoxicated.
Affected (partially eaten) by maggots.
Rotten.