# ==================================================
# void vb.button.chargeFog()
# ==================================================

scoreboard players set vb.button.chargeFog.__hasFunctionReturned__ tbms.var 0
scoreboard players operation vb.button.chargeFog._0._0 tbms.var = vb.load.terrain tbms.var
execute if score vb.button.chargeFog._0._0 tbms.var matches 1 run fog @a push zedafox:royalblue blue
execute if score vb.button.chargeFog._0._0 tbms.var matches 2 run fog @a push zedafox:orange orange
execute if score vb.button.chargeFog._0._0 tbms.var matches 3 run fog @a push zedafox:yellow yellow
