advancement revoke @a only lbdm:click/the_end/npc.farmi
execute if data storage lbdm:temp {the_end_dialogue_cooldown:true} run return fail
execute if entity @e[tag=npc.bd_farmi.hitbox,tag=cooldown] run return fail
function lbdm:the_end/npc/phrases/farmi/phrase1
execute as @e[tag=npc.bd_farmi] at @s facing entity @p eyes run tp @s ~ ~ ~ ~ 0
execute as @e[tag=aj.quest4_dog.root] at @s facing entity @p eyes run tp @s ~ ~ ~ ~ 0
data merge storage lbdm:temp {the_end_dialogue_cooldown:true}