def reset_flags(self, id, flags):
        assert 0 <= id <= 255
        self._data[id] = flags & ALL
Resets all flags for a tile, then sets the given flags.
dataset/ETHPy150Open dansanderson/picotool/pico8/gff/gff.py/Gff.reset_flags