Falcao Pearl ABS tweak to prevent projectiles from moving through certain events

Hello,

I'm using Falcao Pearl ABS scripts for my game. I've also been using a script by Sixth that allows you to prevent projectiles from passing through tiles that have a certain region id set. This works very nicely.

The problem for me comes from the scenario where the player might want to move a boulder in front of an enemy in order to prevent the projectile from passing through it, allowing the player to proceed safely through. I'm not seeing a way to associate a region id with an event, or a way to dynamically change the region id of the tile that the event is currently on. Any ideas on how this might be achieved would be greatly appreciated!

Original thread: https://forums.rpgmakerweb.com/threads/falcao-pearl-abs-tweak-to-prevent-projectiles-from-moving-through-certain-events.117322/