In my best game of Brogue so far, I picked up Ifrit from an orb. On depth 16, everything is going well - Ifrit and a centaur, and decent equipment.
But suddenly, disaster: My centaur triggers a confusion trap.
In the small hallway, the gas is dense and no one can get away. Worse, a wraith walks in too. They just keep hitting it over and over, and I can't get to it to stand on it.
Eventually, Ifrit wandered off and while still confused, got sniped to death by three sentinels over a giant pit. I survived (barely) but met my end on the next level without my bro.
Given what I've got - notably, no healing, no teleport, and no fire - what's the optimal way to deal with this situation?