execute as @a[tag=!debug] run function funkalot:playermodification
execute as @a[tag=!debug] unless score @s left matches 0 run function funkalot:left
execute as @a[limit=1] run function funkalot:inputnone
execute as @a[predicate=funkalot:anyinput,limit=1] run function funkalot:input
execute as @a[tag=start] run function funkalot:start/tick
execute as @a[tag=tracks] run function funkalot:tracks/tick
execute as @a[tag=lost] run function funkalot:lost/tick
execute as @a[tag=results] run function funkalot:results/tick
execute as @a[tag=playing] run function funkalot:notesystem/tick
execute as @a[tag=autoplay] run function funkalot:autoplay
item replace entity @a[tag=!playing] armor.head with air
execute as @n[tag=note.baseline,type=minecraft:item_display] store result score @s note.pos run data get entity @s Pos[2] 1000
execute as @e[type=item_display,tag=key.note] run function funkalot:notes with storage funkalot:current song
