I think I've mentioned this before at some point, but it is worth mentioning again as a thought for FF4 would-be hackers.
This is the most poorly constructed boss battle ever invented.
I'm only speaking of the undead-ish creature that is Dr. Lugae (the Balnab component is amusing for the most part).
His battle script is realtively simple, but here's the notable things he does.
1) He starts off the battle by poisoning everyone.
2) As a counter, he attempts to attack you with a Sleep attack (Sleeping Gas).
If you looked at my thread on status priorities, you would find out that Sleep has a lesser priority than Poison. Sadly that prevents the counter from working effectively
at all until Dr. Lugae heals you (yes, that's strange enough as that is).
That's what poor battle scripts net you...

What's curious is that the undead-ish Dr. Lugae is a Mech, but not the Balnab-Z version (the rebuilt Balnab)... I get the feeling someone fucked up royally here, but that's my opinion.
So consider the status ailments that are inflicted.. so that you don't prevent other annoying status effects from working effectively.