v17 Dynamic Light script for Essentials?

This thread pertains to v17 of Pokémon Essentials.


Elite Trainer
Jul 29, 2020
I recently looked into trying to make the trainers and npcs in dark caves have ring lights around them like the player does, but didn't find anything on it. I found that you can make a fog covering the map and just erase the parts where the trainers would be, but it doesn't move with them like in the regular games. I couldn't find anything until I stumbled upon this script by Nuri Yuri. However, this script is made for PSDK and I'm working on v17.2 of Essentials. Is there a script for something like this or even like the cone light system from Hearthome City's gym in Platinum?