Working Darkness script

As the title suggested, not sure if its been done before, what I'm trying to imitate is an old game I used to play as a kid, but with my own twist on it (non commercial for this one, since its based on licensed and well known material.)
What I'm looking for, for starters is a Working Darkness that conceals all but a radius around the player and expands as the player walks, as if they had a torch or light source of some kind. It was a staple in many old games, so someone here may have already done it, just didn't see it when I searched the forums myself.
Whew, I knew this existed, it's just a real pain to find.


I hope this works.
Quandary #2. Keep in mind this is all on RPG Maker VX Ace at the moment, I have MZ, but I haven't started on it yet. Not sure if a script would be needed for this, but the second issue I am having is, I have a first boss I hand drew. I made three variations of the boss, reason being, simple. I thought *in theory* anyways that I could have the boss transform using the transform function in game, but either I was doing something wrong, or it requires a script to do what I want it to do.

But what its supposed to do is, once the boss gets to 50% health or 75%, or just kill it outright, its supposed to transform to form 2, then finally to form three, the last two forms have less health but form two is stronger in magic, and form three is all physical. Once it dies, it drops a quest item (at least my intention anyways.)

If this is not a scripting issue, and its some mechanic I'm missing, enlighten the old gamer, and let me know what I got to do, to get it to work.

Whew, I knew this existed, it's just a real pain to find.


I hope this works.

Ahh! You actually found one! I looked for hours on here for one, even tried just searching on Goggles and GooseGooseGO and a few other search engines to no avail. Well I will definitely give that a try, thx for the assist. :LZYcool:
I think you can do this with eventing. Make a troop event that triggers when the Boss is at 50% HP, and transform it into the new one. That should work.
I think you can do this with eventing. Make a troop event that triggers when the Boss is at 50% HP, and transform it into the new one. That should work.

Ok that did work, but is there a way to make it transform a third time? When it reaches 50% I just have it transform to a red version, but at 25% I wanted it to turn one more time to a green one. Is this doable? I tried creating a second event, but it doesn't list the one I want to change, even though its in the Enemies section. I couldn't just add it to the troops, then players would have to fight two copies of the boss, and one of that bugger is enough.

By the way, the script for the fog, worked splendidly! Also I am in no hurry to complete this thing, so if you or anyone else has things they need to do, don't rush on my behalf, but all assistance is welcomed.🤘 😎

Original thread: https://forums.rpgmakerweb.com/threads/working-darkness-script.164730/