# Enemy filter
execute if entity @s[tag=zeldia_knight_leader] run function enemies:zk_leader/0_main
execute if entity @s[tag=zeldia_miner] run function enemies:zeldia_miner/0_main
execute if entity @s[tag=elf_assassin,nbt=!{ActiveEffects:[{Id:14b}]}] run function enemies:elf_assassin/0_main
execute if entity @s[tag=stone_guardian] run function enemies:stone_guardian/0_main
execute if entity @s[tag=ent] run function enemies:ent/0_main
execute if entity @s[tag=elder_ent] run function enemies:elder_ent/0_main
execute if entity @s[tag=frog] run function enemies:frog/0_main
execute if entity @s[tag=mandragora] run function enemies:mandragora/0_main
execute if entity @s[tag=angry_panda,tag=!angry] if entity @p[distance=..10] run function enemies:angry_panda/trigger_angger
execute if entity @s[tag=ghost_pirate] run function enemies:ghost_pirate/0_main
execute if entity @s[tag=drowned_fisherman] run function enemies:drowned_fisherman/0_main
execute if entity @s[tag=floating_jellyfish] run function enemies:floating_jellyfish/0_main
execute if entity @s[tag=annoying_seagull] run function enemies:annoying_seagull/0_main
execute if entity @s[tag=hermit_crab] run function enemies:hermit_crab/0_main
execute if entity @s[tag=dolphin_ridder] run function enemies:dolphin_ridder/0_main
execute if entity @s[tag=parasite_squid] if predicate entity/hurt run function enemies:parasite_squid/0_main
execute if entity @s[tag=siren] run function enemies:siren/0_main

# Sound Only
execute if entity @s[tag=troll] run function enemies:troll/0_main
execute if entity @s[tag=goblin] run function enemies:goblin/0_main
execute if entity @s[tag=sg] run function enemies:sg/0_main

# Others
execute if entity @s[tag=ent_transf,nbt={Age:38}] run function enemies:ent/transform
execute if entity @s[tag=slime_fix] run function enemies:basic_slime/fix_main
