38183 {
38185 if (createTile == 36)
38186 {
38187 style = Main.rand.Next(7);
38188 }
38189 if (createTile == 212 &&
direction > 0)
38190 {
38191 style = 1;
38192 }
38193 if (createTile == 141)
38194 {
38195 style = Main.rand.Next(2);
38196 }
38197 if (createTile == 128 || createTile == 269 || createTile == 334)
38198 {
38200 }
38202 {
38203 style = Main.rand.Next(0, 9);
38204 }
38206 {
38207 style = Main.rand.Next(9);
38208 }
38209 if (createTile == 314 && style == 2 &&
direction == 1)
38210 {
38211 style++;
38212 }
38213 if (createTile == 129)
38214 {
38215 style = (
short)Main.rand.Next(18);
38216 }
38217 return style;
38218 }