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

scoreboard players set vb.volley.summonBall.__hasFunctionReturned__ tbms.var 0
scoreboard players random vb.volley.summonBall._0._0 tbms.var 0 5
execute if score vb.volley.summonBall._0._0 tbms.var matches 0 run summon zedafox:ball
execute if score vb.volley.summonBall._0._0 tbms.var matches 1 run summon zedafox:ball ~ ~ ~ ball2
execute if score vb.volley.summonBall._0._0 tbms.var matches 2 run summon zedafox:ball ~ ~ ~ ball3
execute if score vb.volley.summonBall._0._0 tbms.var matches 3 run summon zedafox:ball ~ ~ ~ ball4
execute if score vb.volley.summonBall._0._0 tbms.var matches 4 run summon zedafox:ball ~ ~ ~ ball5
execute if score vb.volley.summonBall._0._0 tbms.var matches 5 run summon zedafox:ball ~ ~ ~ ball6
