This isn't Java. Just write `w.Map.Tileset == "SNOW"`

The bigger issue though is that hardcoding the tileset names in here is pretty gross.