$execute store result score .notespawnorder constants if data storage funkalot:current song.notes[{time:$(timeline)}]
execute if score .notespawnorder constants matches 0 run return 0
$execute if score .notespawnorder constants matches 1 run data modify storage funkalot:current song.notes[{time:$(timeline)}].spawnpos set from storage funkalot:current song.spawnpos
execute if score .notespawnorder constants matches 1 run return run function funkalot:notesystem/tickhasnote with storage funkalot:current song
function funkalot:notesystem/multipletickhasnote with storage funkalot:current song