Is there a way to prioritize drinking overload over getting back to the lowest hp, and over reaching the desired absorption dosage number? For example on mirror mode just now I lost the overload effect and was back up to 50+ hp. At first it ate the rock cake until I was at 51 hp, then I was also low in absorption potion(like 100ish) and the script drank until it reached 1000. Throughout the duration of drinking absorption to 1000 I was at 51 hp on hard... so I got wrecked and drank a bunch of extra absorption potions. This has happened several times from when I've been watching.
I would say maybe setting up so that if you have at least 100 points in absorption it is safe to drink overload, and then continue drinking absorption after that?
EDIT: Here is an example: