Hi, im new but wondered if someone could help me.

Yesterday morning me and my girlfriend bought two pacman frogs off a guy, he dropped them off in the tank he had them in. We currently have slider turtles, tropical fish and my girlfriend has African albino black clawed frogs so we have experience in dealing different types of pets, i know frogs like this require different things but figured i could give them a nice new home after doing research on them. We bought them partly because, due to what i do know the tank set up was completely wrong and wanted to help them. Here is the set up he had them in. 10 gallon tank with two pacman frogs (im gonna take a guess at one male and one female), he used synthetic cotton as a substrate and there was an inch of standing water in the tank, a under tank heater on the side of the tank, no thermometer and no hydrometer. Now as far as im aware that set up is completely wrong, i know the thermometer or hydrometer are important and the substrate and water im guessing are bad for them like that as well. Also, i know you shouldnt have two together as they can attack.

Anyway, i went out and spent money on eco earth, food, thermometer, hydrometer, everthing, was even gonna put the second frog in a separate tank. They looked fine when we left but when we got back one of them looked like it was dead, it looked deflated, wasnt moving, couldnt see it breathing, i was hoping it had gone into estivation but i have done everything recommended to try and bring it out, put it in its water dish so the water is just below its chin and got the temps up to 80 and the humidity much higher than it was so now its at 80% using a humidity machine or whatever they are called. However it hasnt moved at all apart from it seems to have bloated a bit. the second one wasnt looking too good either, looked like it had no energy and was struggling to stand but seems to have improved this morning.

I told the guy who we got them from and he gave us a load of abuse and laughed that it had died so he just needs locking up or something.

Can anyone recommend anything to help with the second one, like i said its improved and seems fine at the moment but dont want it to die as well. Im guessing the first one is dead, the only thing that makes me unsure is that it seems to have bloated or can that still happen after it dies?

Any help is appreciated. Thanks