Restrict Movement of Certain Events

So, what I'm trying to do is have the player use a bow that fires an arrow when a button is pressed, and the arrow moves until it hits something solid. Which works fine, but then I also want to have a fire wand that shoots a fireball, similarly to the bow and arrow, but I want the fireball to be able to pass over any tile, including the tiles that the arrow can't pass through.

I'm using Yanfly's Move Restrict Region script (https://github.com/Archeia/YEARepo/blob/master/Field/Move_Restrict_Region.rb) to make the arrow work. I'm wondering if there's any way to set an event to ignore this script. Or if I can find some other way, that works too. Anyone have any ideas?
I may be misunderstanding here but I'm using the same script and you can just set the "Through" property on the even to "On" and that event then disregards the restriction...


...is that what you're after...? 🙂
It is, but only for the fireball. I have it so that even with through on, the arrow can't get past the restricted region, but can go through NPCs and other events, but that also affects the fireball, and I don't know if there's any way around that. Thanks though!
What about a separate event for the fireball that uses "Through On"?
Well, both the fireball and arrow have through on. Through doesn't let them go through the specific region though, and I need the fireball to go through it, but not the arrow. I don't think it's possible without adding to the script.

I actually did find a solution though. Not what I had in mind, but it works. I just made the movement of the fireball a picture, and then when the movement is finished, I have the event relocated to where the picture stopped.

Original thread: https://forums.rpgmakerweb.com/threads/restrict-movement-of-certain-events.57700/