summon dolphin ~ ~ ~ {NoAI:1b,Tags:["init"],DeathLootTable:"0_enemy_boss:death_mob"}

team join no_colision @e[type=dolphin,tag=init,limit=1]

function olink:ch1/new_link
execute as @e[type=dolphin,tag=init,limit=1] run function olink:ch1/join_link

tag @e[type=dolphin,tag=init,limit=1] remove init