execute store result storage funkalot:tracks tracks.page int 1 run scoreboard players remove .trackspage constants 1
execute if score .trackspage constants matches -1 store result storage funkalot:tracks tracks.page int 1 run scoreboard players operation .trackspage constants = .trackspagesnumber constants
function funkalot:tracks/selection/operation
data modify storage funkalot:tracks tracks.selected set value 3
execute store result score .returneddefault constants run function funkalot:tracks/selection/checkexistanceprev with storage funkalot:tracks tracks
execute if score .returneddefault constants matches 837 run return run scoreboard players reset .returneddefault constants
kill @e[type=text_display,tag=tracks.entry]
function funkalot:tracks/selection/summon with storage funkalot:tracks tracks
function funkalot:tracks/selection/highlight with storage funkalot:tracks tracks
scoreboard players reset .returneddefault constants