tent pegged

adj.

Too drunk to move from the spot where friends have secured you, metaphorically, for your own safety.

Source: Wiktionary