I don't know what "flags" are used for. 0 and 1 work normally, but 2 or more makes the smashable object rock-solid. (Can't be destroyed)