Instantaneous detection of snowball collision

I had previously asked on how to prevent an enderpearl from teleporting a player (https://discord.com/channels/935560260725379143/1426284612123889735) and I had also asked if you can reset velocity/not reset velocity with the /tp command (https://discord.com/channels/935560260725379143/1426236762925170848). One of the reasons I had asked this was because in version 1.21.5 enderpearls were changed to not reset your velocity when landing. I want to give an option for old pearls (reset velocity upon teleporting) or new pearls (dont reset veolcity upon teleporting). Someone had suggested changing all enderpearls to snowballs, making a marker ride the pearl, then detect when the marker no longer has a rider and teleport the player using either (as and at the marker): /tp @p @s (resets velocity) or /tp @p ~ ~ ~ (doesn't reset velocity). Is there a way to instantaneously detect when a marker doesn't have a rider, or when a snowball collides without having to wait a tick e.g. with advancements or enchantments?

Continue to help post