Jump Collision Check / Drop

Jump Collision Check / Drop​
 
Hey guys! I would like to request a script wherein an event will not jump through an impassable tile via a Move Route Jump. There are two possibilities for this script, both of which I will be fine with either or, but one I will prefer over the other.
 
1. I will call the script to check how many tiles in front of this event it can jump without hitting an impassable tile/wall. The script will return a variable or number that I can use in another script call to tell the event how many spaces to jump forward (via Galvs move route extras script).
 
2. I will call the script to tell the event to jump forward (in the direction it is facing) X number of times. If the script finds that there is an impassable tile or wall in the way, the event will still jump that distance, but fall straight down once it hits that wall.
 
The following is a mockup image of Petula throwing an event object in one direction. In the image, the object is thrown 5 tiles away from her.
 

23k1.jpg
 ​
 
Some notes:
Option 1 is obviously the easiest to do, and will require less time to code.
Option 2 I know is possible because Victor has this sudden drop happen with his Free Jump script (coupled with his Basic Module and Pixel Movement scripts). I also use this script, so if you can somehow use it as a call for an event instead of the player, then all the better.
 
This is what Shaz had to say about my quick question in another thread:
 

@seita, you'd have to do a script call first, to check each tile from where you are now to the tile before where you want to end up, and check $game_player.passable?(x, y, dir) on each one. If ANY of them return false, you know not to allow the jump to happen. If you didn't want to do that check yourself each time, you could probably program it into the script.
 
As tagged, this is a PAID or FREE script. I will let the scripter who takes this request dictate the amount they would like to be paid, so please stay in a realistic range.
Timeliness is key, hopefully I could have this done quickly.
 
Thank you very much in advance!
Bumping up~ Still need a willing taker for this script~

Original thread: https://forums.rpgmakerweb.com/threads/jump-collision-check-drop.16027/