Finally the HUD has been reprogrammed!
~And length of the HP bar increases along with maximum HP!
For some reason I always like that little feature in games, because that makes increasing max HP more interesting --- especially checking if you can go off-screen with this.
I thought it all will take few hours, but it ended up taking two days, heh.
Why it took so long? I had to replace most of the HUD graphics in game files and reprogram the HUD in general, mostly spell icons, due to their new switching animation. I also have optimized the code, now it's shorter, organized better, thus more efficient & readable. I also have added some script functions that will come in handy when programming features in the future.
...Also I discovered, that previously there were two typos in the code. It wasn't a big deal, as things still worked in the end without crashing the game, nevertheless it's of course better to not have any of this floating in the code.
I guess this design will do, at least for now.
And as always, thanks for visiting!