Bed temperature on change filament in gcode macro global var

See Using START_PRINT and END_PRINT Macros how such macros SHOULD work.
I do not know what Sovol is doing here or intends to do. In doubt, it might be best to contact them directly.
Another approach would be to get rid of this macro hell and use only stuff you need.