execute at @s run playsound minecraft:block.note_block.pling master @s ~ ~ ~ 0.7 0
execute at @s run playsound minecraft:entity.wither.death master @s ~ ~ ~ 0.7 1.5

execute as @s[tag=svm_ep.power_user] run function svm_ep:power/delete_power

execute as @s[scores={svm_ep.chooser_chosen=1}] run function svm_ep:power/phase/obtain
execute as @s[scores={svm_ep.chooser_chosen=2}] run function svm_ep:power/lightning/obtain
execute as @s[scores={svm_ep.chooser_chosen=3}] run function svm_ep:power/flora/obtain
execute as @s[scores={svm_ep.chooser_chosen=4}] run function svm_ep:power/slime/obtain
execute as @s[scores={svm_ep.chooser_chosen=5}] run function svm_ep:power/explosion/obtain
execute as @s[scores={svm_ep.chooser_chosen=6}] run function svm_ep:power/ice/obtain
execute as @s[scores={svm_ep.chooser_chosen=7}] run function svm_ep:power/gravity/obtain
execute as @s[scores={svm_ep.chooser_chosen=8}] run function svm_ep:power/harpie/obtain
execute as @s[scores={svm_ep.chooser_chosen=9}] run function svm_ep:power/dimension_traveler/obtain
execute as @s[scores={svm_ep.chooser_chosen=10}] run function svm_ep:power/fire/obtain
execute as @s[scores={svm_ep.chooser_chosen=11}] run function svm_ep:power/void/obtain
scoreboard players reset @s svm_ep.chooser_chosen

function svm_ep:player/swap_hand_items

