47998 {
48000 {
48001 return;
48002 }
48003 bool flag = false;
48004 int num = 0;
48006 for (num += Main.tile[i,
j].frameX / 18; num > 1; num -= 2)
48007 {
48008 }
48009 num *= -1;
48011 int num3 = Main.tile[
i,
j].frameY / 18;
48014 {
48017 }
48019 for (
int k = num;
k < num + 2;
k++)
48020 {
48022 {
48023 if (Main.tile[
k,
l] ==
null)
48024 {
48025 Main.tile[
k,
l] =
new Tile();
48026 }
48029 {
48030 }
48031 if (!Main.tile[
k,
l].active() || Main.tile[
k,
l].type !=
type ||
num5 !=
k - num || Main.tile[
k,
l].frameY != (
l -
num2) * 18 +
num4 * 36)
48032 {
48033 flag = true;
48034 }
48035 }
48036 if (Main.tile[
k,
num2 + 2] ==
null)
48037 {
48039 }
48041 {
48042 flag = true;
48043 }
48044 }
48045 if (!flag)
48046 {
48047 return;
48048 }
48051 {
48053 }
48054 else if (
num4 >= 16 &&
num4 <= 24)
48055 {
48057 }
48058 else
48059 {
48061 }
48062 for (
int m = num;
m < num + 2;
m++)
48063 {
48065 {
48066 if (Main.tile[
m,
n].type ==
type && Main.tile[
m,
n].active())
48067 {
48069 }
48070 }
48071 }
48073 {
48074 case 0:
48078 break;
48079 case 1:
48083 break;
48084 case 2:
48088 break;
48089 case 3:
48093 break;
48094 case 4:
48095 case 5:
48096 case 6:
48099 break;
48100 default:
48102 {
48105 }
48106 else if (
num4 >= 10 &&
num4 <= 12)
48107 {
48110 }
48111 else if (
num4 >= 13 &&
num4 <= 15)
48112 {
48115 }
48116 else
48117 {
48119 {
48120 break;
48121 }
48123 {
48126 }
48127 else if (
num4 >= 28 &&
num4 <= 30)
48128 {
48131 }
48132 else if (
num4 >= 31 &&
num4 <= 33)
48133 {
48136 {
48138 }
48139 }
48140 else if (
num4 >= 34 &&
num4 <= 36)
48141 {
48145 }
48146 }
48147 break;
48148 }
48149 if (Main.netMode != 1 &&
type != 653)
48150 {
48152 }
48154 }
static void PlaySound(int type, Vector2 position, int style=1)
static bool destroyObject
static void KillTile(int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false)
static UnifiedRandom genRand
static bool SolidTile2(Tile testTile)
static void SpawnThingsFromPot(int i, int j, int x2, int y2, int style)