## Runs from controller.animation.fares_portal_dummy.sfx_timer
## @s = ldz:fares_portal_dummy

#scoreboard objectives setdisplay sidebar SFXTimer
scoreboard players add @s SFXTimer 1
execute as @s[scores={SFXTimer=1},tag=!interacted] run playsound entity.fares_portal.morph_appear @a ~ ~ ~
execute as @s[scores={SFXTimer=16},tag=!interacted] run playsound entity.fares_portal.morph_scrape @a ~ ~ ~
execute as @s[scores={SFXTimer=17},tag=!interacted] run playsound entity.fares_portal.morph_lock @a ~ ~ ~
execute as @s[scores={SFXTimer=21},tag=!interacted] run playsound entity.fares_portal.morph_activate @a ~ ~ ~

execute as @s[scores={SFXTimer=21}] run tag @s add interacted
execute as @s[tag=interacted] run event entity @s remove_sfx_toggle