44511    {
44513        {
44514            return;
44515        }
44516        bool flag = false;
44521        {
44523        }
44524        num = Main.tile[
i, 
j].frameX / 18;
 
44526        while (num >= 
num3)
 
44527        {
44530        }
44531        int num5 = 
i - num;
 
44534        {
44536        }
44538        num2 = Main.tile[
i, 
j].frameY / 18;
 
44541        {
44544        }
44546        {
44548        }
44551        {
44553        }
44555        {
44557        }
44559        for (
int k = num; 
k < num + 
num3; 
k++)
 
44560        {
44562            {
44563                if (Main.tile[
k, 
l] == 
null)
 
44564                {
44565                    Main.tile[
k, 
l] = 
new Tile();
 
44566                }
44567                if (!Main.tile[
k, 
l].active() || Main.tile[
k, 
l].type != 
type || Main.tile[
k, 
l].frameX != (
k - 
num5) * 18 + 
num6 || Main.tile[
k, 
l].frameY != (
l - 
num2) * 18 + 
num8)
 
44568                {
44569                    flag = true;
44570                }
44571            }
44572        }
44573        if (Main.tile[num + 1, 
num2 - 1] == 
null)
 
44574        {
44575            Main.tile[num + 1, 
num2 - 1] = 
new Tile();
 
44576        }
44577        if (!Main.tile[num + 1, 
num2 - 1].nactive() || !Main.tileSolid[Main.tile[num + 1, 
num2 - 1].type] || Main.tileSolidTop[Main.tile[num + 1, 
num2 - 1].type])
 
44578        {
44579            flag = true;
44580        }
44581        if (!flag)
44582        {
44583            return;
44584        }
44586        for (
int m = num; 
m < num + 
num3; 
m++)
 
44587        {
44589            {
44590                if (Main.tile[
m, 
n].type == 
type && Main.tile[
m, 
n].active())
 
44591                {
44593                }
44594            }
44595        }
44597        {
44598            switch (Main.rand.Next(9))
44599            {
44600            case 2:
44601            case 3:
44602            case 4:
44603            {
44604                int num13 = Main.rand.Next(10, 31);
 
44606                {
44607                    int num14 = Main.rand.Next(2, 11);
 
44609                    {
44611                    }
44614                }
44615                break;
44616            }
44617            case 5:
44618            case 6:
44619            {
44620                int num17 = Main.rand.Next(60, 80);
 
44622                {
44623                    int num18 = Main.rand.Next(3, 16);
 
44625                    {
44627                    }
44630                }
44632                break;
44633            }
44634            case 7:
44635            {
44636                int num15 = Main.rand.Next(10, 31);
 
44638                {
44639                    int num16 = Main.rand.Next(2, 9);
 
44641                    {
44643                    }
44646                }
44647                if (Main.rand.Next(8) == 0)
44648                {
44650                }
44651                if (Main.rand.Next(8) == 0)
44652                {
44654                }
44656                break;
44657            }
44658            case 8:
44659            {
44662                {
44663                    int num10 = Main.rand.Next(3, 16);
 
44665                    {
44667                    }
44670                }
44671                int num11 = Main.rand.Next(30, 91);
 
44673                {
44674                    int num12 = Main.rand.Next(7, 14);
 
44676                    {
44678                    }
44681                }
44684                break;
44685            }
44686            }
44687        }
44689        {
44692            {
44693            case 1:
44695                break;
44696            case 2:
44698                break;
44699            case 3:
44701                break;
44702            case 4:
44704                break;
44705            case 5:
44707                break;
44708            case 6:
44710                break;
44711            case 7:
44712            case 8:
44713            case 9:
44714            case 10:
44715            case 11:
44716            case 12:
44717            case 13:
44718            case 14:
44719            case 15:
44720            case 16:
44721            case 17:
44723                break;
44724            default:
44726                {
44727                    22 => 2224, 
44728                    23 => 2525, 
44729                    24 => 2543, 
44730                    25 => 2558, 
44731                    26 => 2573, 
44732                    27 => 2652, 
44733                    28 => 2653, 
44734                    29 => 2654, 
44735                    30 => 2655, 
44736                    31 => 2656, 
44737                    32 => 2657, 
44738                    33 => 2813, 
44739                    34 => 3177, 
44740                    35 => 3179, 
44741                    36 => 3178, 
44742                    37 => 3894, 
44743                    38 => 3938, 
44744                    39 => 3964, 
44745                    40 => 4152, 
44746                    41 => 4173, 
44747                    42 => 4194, 
44748                    43 => 4215, 
44749                    44 => 4305, 
44750                    45 => 4573, 
44751                    46 => 5155, 
44752                    47 => 5176, 
44753                    48 => 5197, 
44755                }));
44756                break;
44757            }
44759        }
44762        {
44764            {
44766            }
44767        }
44768    }
static bool destroyObject
 
static void KillTile(int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false)
 
static void TileFrame(int i, int j, bool resetFrame=false, bool noBreak=false)
 
static IEntitySource GetItemSource_FromTileBreak(int x, int y)