49325 {
49326 int num = 2;
49329 Tile tile = Main.tile[x, y];
49330 if (tile.wall > 0 && (double)y <= Main.worldSurface)
49331 {
49332 return false;
49333 }
49334 if (tile.active() && tile.type == 314)
49335 {
49336 return false;
49337 }
49340 {
49343 {
49344 return false;
49345 }
49348 if (
tile2.type == 571)
49349 {
49351 {
49352 }
49354 {
49355 return false;
49356 }
49357 }
49358 else
49359 {
49361 }
49364 {
49365 return false;
49366 }
49367 tile = Main.tile[x, y];
49368 tile.active(active:
true);
49369 tile.type = 571;
49370 tile.frameX = 0;
49371 tile.frameY = 0;
49372 tile.slope(0);
49373 tile.halfBrick(halfBrick:
false);
49375 return true;
49376 }
49377 return false;
49378 }
static UnifiedRandom genRand
static int GetWaterDepth(int x, int y)
static int CountGrowingPlantTiles(int x, int y, int range, int type)
static void SquareTileFrame(int i, int j, bool resetFrame=true)