# F1
execute if predicate enemies_py:death_trigger/type/basic_slime run function enemies:basic_slime/fix
execute if predicate enemies_py:death_trigger/type/spear_goblin run playsound custom.goblin.death hostile @a ~ ~ ~
execute if predicate enemies_py:death_trigger/type/dagger_goblin run playsound custom.goblin.death hostile @a ~ ~ ~
execute if predicate enemies_py:death_trigger/type/troll run playsound custom.troll.death hostile @a ~ ~ ~

# F2
execute if predicate enemies_py:death_trigger/type/stone_guardian run function enemies:stone_guardian/divide
execute if predicate enemies_py:death_trigger/type/half_stone_guardian run playsound custom.sg.death hostile @a ~ ~ ~
execute if predicate enemies_py:death_trigger/type/frog run playsound custom.frog.death hostile @a ~ ~ ~
execute if predicate enemies_py:death_trigger/type/mandragora run function enemies:mandragora/sound_system
execute if predicate enemies_py:death_trigger/type/ent run playsound custom.ent.death hostile @a ~ ~ ~
execute if predicate enemies_py:death_trigger/type/elder_ent run playsound custom.ent.death hostile @a ~ ~ ~

# F3
execute if predicate enemies_py:death_trigger/type/floating_jellyfish run playsound custom.jellyfish.death hostile @a ~ ~ ~
execute if predicate enemies_py:death_trigger/type/annoying_seagull run playsound custom.seagull.death hostile @a ~ ~ ~
execute if predicate enemies_py:death_trigger/type/hermit_crab run playsound custom.hermit_crab.death.layer1 hostile @a ~ ~ ~
execute if predicate enemies_py:death_trigger/type/hermit_crab run playsound custom.hermit_crab.death.layer2 hostile @a ~ ~ ~
execute if predicate enemies_py:death_trigger/type/ghost_pirate run playsound custom.ghost.death hostile @a ~ ~ ~
execute if predicate enemies_py:death_trigger/type/siren run playsound custom.siren.death hostile @a ~ ~ ~

# Bosses
execute if predicate bosses_py:death_trigger/type/troll_leader run playsound custom.troll.death hostile @a ~ ~ ~
execute if predicate bosses_py:death_trigger/type/mega_slime run schedule function bosses:mega_slime/death_cleanup 21t
execute if predicate bosses_py:death_trigger/type/druid run playsound custom.druid.death hostile @a ~ ~ ~
