In OoA, OoS, and MC; they have 2x2 tile stumps that Link can jump onto. Could someone make a script that does that?

How I want it to work is:
The FFC that the script is attached to will be Link's position on the stump.
D0: The number of the combo that is the top-left corner of the stump.
D1: [bool] Whether or not Link can jump from the left side of the stump.
D2: [bool] Whether or not Link can jump from the right side of the stump.
D3: [bool] Whether or not Link can jump from the top side of the stump.
D4: [bool] Whether or not Link can jump from the bottom side of the stump.