# The function that initializes basic scoreboards, fake players, gamerules etc.
# Commonly used scoreboards
# Temporary variables
scoreboard objectives add shapescape_mb_tmp dummy
scoreboard objectives add shapescape_mb_tmp1 dummy
scoreboard objectives add shapescape_mb_tmp2 dummy
scoreboard objectives add shapescape_mb_tmp3 dummy
scoreboard objectives add shapescape_mb_tmp4 dummy
scoreboard objectives add shapescape_mb_tmp5 dummy
scoreboard objectives add shapescape_mb_tmp6 dummy
scoreboard objectives add shapescape_mb_tmp7 dummy
scoreboard objectives add shapescape_mb_tmp8 dummy
scoreboard objectives add shapescape_mb_tmp9 dummy
scoreboard objectives add shapescape_mb_tmp10 dummy
# The scoreboard for the fake players
scoreboard objectives add shapescape_mb_var dummy
# The scoreboard for temporary variables stored in the fake players
scoreboard objectives add shapescape_mb_tmp_var dummy
# The scoreboard for numbers
scoreboard objectives add shapescape_mb_const dummy
scoreboard players set _-1 shapescape_mb_const -1
scoreboard players set _0 shapescape_mb_const 0
scoreboard players set _1 shapescape_mb_const 1
scoreboard players set _2 shapescape_mb_const 2
scoreboard players set _3 shapescape_mb_const 3
scoreboard players set _4 shapescape_mb_const 4
scoreboard players set _5 shapescape_mb_const 5
scoreboard players set _6 shapescape_mb_const 6
scoreboard players set _7 shapescape_mb_const 7
scoreboard players set _8 shapescape_mb_const 8
scoreboard players set _9 shapescape_mb_const 9
scoreboard players set _10 shapescape_mb_const 10

### Scoreboard responsible for tracking number of players for the boss fight.
scoreboard objectives remove shapescape_mb_PlayerNumber
scoreboard objectives add shapescape_mb_PlayerNumber dummy
scoreboard players set var shapescape_mb_PlayerNumber 0