HOW DO I GET PAST ROOM 24!? NYM-FOE IS INESCAPABLE!!!
If you haven't beaten her yet, I usually timed going through the pallets as Nym-Foe was moving onto the tile next to Jane. Better to trigger the pallet early and avoid getting caught than triggering it late though, so if you still get caught even with this, try moving through the pallets as she's moving onto a tile 2 spaces away.