# ==================================================
# void vb.number.addpointPlayer2()
# ==================================================

scoreboard players set vb.number.addpointPlayer2.__hasFunctionReturned__ tbms.var 0
scoreboard players operation vb.number.addpointPlayer2._0._0 tbms.var = vb.load.terrain tbms.var
execute if score vb.number.addpointPlayer2._0._0 tbms.var matches 1 run function vb/zzz_sl_block/156
execute if score vb.number.addpointPlayer2._0._0 tbms.var matches 2 run function vb/zzz_sl_block/157
execute if score vb.number.addpointPlayer2._0._0 tbms.var matches 3 run function vb/zzz_sl_block/158
scoreboard players add vb.number.pointPlayer2 tbms.var 1
execute if score vb.number.pointPlayer2 tbms.var = vb.number.goal tbms.var run function vb/zzz_sl_block/159
function vb/effect/number_line_effect
execute as @a[tag=player2] run scoreboard players add @s vb.volley.scoredPoint 1
execute as @a[tag=player1] run scoreboard players add @s vb.volley.lost 1
