mental gymnasticsed

adj.

You are drunk and making difficult, complex adjustments merely to remain approximately upright.

Lovada was mental gymnasticsed, converting the banister into part of an intricate balancing exercise.

Source: Wiktionary