I modified your plug-in and included it as part of the finished game. I made a few changes to prevent some weird edge case bugs and make it work a little more like I want. In any case, thanks for suggesting a solution for me!
Glad it’s working for you, and that you didn’t hand edit all those events!!