# ==================================================
# void vb.volley.trailing()
# ==================================================

scoreboard players set vb.volley.trailing.__hasFunctionReturned__ tbms.var 0
scoreboard players add vb.volley.trailTime tbms.var 1
scoreboard players operation vb.volley.trailing._0._0 tbms.var = vb.volley.trailTime tbms.var
execute if score vb.volley.trailing._0._0 tbms.var matches 3 run function vb/zzz_sl_block/88
execute if score vb.volley.trailing._0._0 tbms.var matches 20 if score vb.volley.direction tbms.var matches 0 unless score vb.button.solo tbms.var matches 0 run function vb/zzz_sl_block/96
execute if score vb.volley.trailing._0._0 tbms.var matches 100 run scoreboard players set vb.volley.trailTime tbms.var 0
