## Runs from controller.animation.player.interacted_with
## @s = player

execute if entity @e[type=ldz:magic_barrier,family=scourge_dungeon_barrier] run dialogue open @e[type=ldz:ender_gardener] @s dialogue.ender_gardener.prison.1
execute unless entity @e[type=ldz:magic_barrier,family=scourge_dungeon_barrier] run dialogue open @e[type=ldz:ender_gardener] @s dialogue.ender_gardener.prison.2
event entity @s set_interacted_with_to_none